From b5212d4a78a778e1489e822c97688dc59c0545a2 Mon Sep 17 00:00:00 2001 From: Mohammad Farukh <65119875+iamFarukh@users.noreply.github.com> Date: Fri, 15 May 2020 07:50:40 +0530 Subject: [PATCH 1/6] Ass #1 (11 May 2020) and Ass #2 (12 May 2020) Ass #1 (11 May 2020) and Ass #2 (12 May 2020) with Code files and the Output file(pictures). --- .../11 May 2020/Q1_11 May 2020- Output.PNG | Bin 0 -> 21579 bytes Mohammad Farukh/11 May 2020/Q1_11 May 2020.py | 23 +++++++++ .../11 May 2020/Q2_11 May 2020- Output.PNG | Bin 0 -> 17966 bytes Mohammad Farukh/11 May 2020/Q2_11 May 2020.py | 32 +++++++++++++ .../11 May 2020/Q3_11 May 2020- Output.PNG | Bin 0 -> 14326 bytes Mohammad Farukh/11 May 2020/Q3_11 May 2020.py | 13 +++++ .../11 May 2020/Q4_11 May 2020- Output.PNG | Bin 0 -> 13712 bytes Mohammad Farukh/11 May 2020/Q4_11 May 2020.py | 19 ++++++++ .../11 May 2020/Q5_11 May 2020- Output.PNG | Bin 0 -> 15511 bytes Mohammad Farukh/11 May 2020/Q5_11 May 2020.py | 27 +++++++++++ .../12 May 2020/Q1_12_05_2020 - Output.PNG | Bin 0 -> 14415 bytes Mohammad Farukh/12 May 2020/Q1_12_05_2020.py | 34 +++++++++++++ .../12 May 2020/Q2_12_05_2020 - Output.PNG | Bin 0 -> 17766 bytes Mohammad Farukh/12 May 2020/Q2_12_05_2020.py | 45 ++++++++++++++++++ .../12 May 2020/Q3_12_05_2020 - Output.PNG | Bin 0 -> 17249 bytes Mohammad Farukh/12 May 2020/Q3_12_05_2020.py | 27 +++++++++++ 16 files changed, 220 insertions(+) create mode 100644 Mohammad Farukh/11 May 2020/Q1_11 May 2020- Output.PNG create mode 100644 Mohammad Farukh/11 May 2020/Q1_11 May 2020.py create mode 100644 Mohammad Farukh/11 May 2020/Q2_11 May 2020- Output.PNG create mode 100644 Mohammad Farukh/11 May 2020/Q2_11 May 2020.py create mode 100644 Mohammad Farukh/11 May 2020/Q3_11 May 2020- Output.PNG create mode 100644 Mohammad Farukh/11 May 2020/Q3_11 May 2020.py create mode 100644 Mohammad Farukh/11 May 2020/Q4_11 May 2020- Output.PNG create mode 100644 Mohammad Farukh/11 May 2020/Q4_11 May 2020.py create mode 100644 Mohammad Farukh/11 May 2020/Q5_11 May 2020- Output.PNG create mode 100644 Mohammad Farukh/11 May 2020/Q5_11 May 2020.py create mode 100644 Mohammad Farukh/12 May 2020/Q1_12_05_2020 - Output.PNG create mode 100644 Mohammad Farukh/12 May 2020/Q1_12_05_2020.py create mode 100644 Mohammad Farukh/12 May 2020/Q2_12_05_2020 - Output.PNG create mode 100644 Mohammad Farukh/12 May 2020/Q2_12_05_2020.py create mode 100644 Mohammad Farukh/12 May 2020/Q3_12_05_2020 - Output.PNG create mode 100644 Mohammad Farukh/12 May 2020/Q3_12_05_2020.py diff --git a/Mohammad Farukh/11 May 2020/Q1_11 May 2020- Output.PNG b/Mohammad Farukh/11 May 2020/Q1_11 May 2020- Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..79e75413186feb247b73e3586b68b55394cee986 GIT binary patch literal 21579 zcmdSB2~^T+*EejZPFYztTRBjt!PL~ULCk^7)3L#_GUtKH%uErSMH%X3ddk!~rDlRu zrdG}qI6`S^i9+Upib80Lib{&0fWZ4l&wW4VdA{#{-uHgL_xslRmdoXW|MkD7z4veL z{k!(%{R`)9*R0yUN<~Fw&FNFWUQ$t6%2iSM$y{|g@J(Xamx@53eER8$g6o?b8hy6W6x2z9|Bxh;zL_!$)wy$)yHwp$Tf1H5Am^^7 z2&|IRlAQOdyJ8dV>OEEN@m1zHmH0FR*OPT-d0>v#sjG1tuN(~7lY0srw^nlJy)jYE16yvyho!O(hwYu-G4WDs(jL7)lsSa^R{m6%J0nLA$7`RKAr)>j8 z3N#x$XR%<3o6E1@6_>g>%UoJKKI?Cw9h$qV!P1*VibERs=#jR8rG*sDH6z#`eatpS z-7o*8XG>!=(c&0p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zm7c`<^u3V#y3)1#LT=oh|4zlfyv_gA_CN2+vwntbp8NGOa7VxUhh4wySG-?i{(9Xt zf6*1%UmYd{)rW@P|Cd>Pf8Dn!=hfHT-}I+2VD+hM_3pd=>`tBYE%a;P=D%mluAknP z$sNA=KuC1?#s;$u_Q7A@{(n}ndfM81>}PkT&irfa_Ug}MBT!jz<)giegz?vJ{j$cu zv<_-LJcEqEf$Jd9yqpBdjR9bf_jIz^^Dq*z8n9=MgjwX!PC{xWt~$(697_% BCF%eG literal 0 HcmV?d00001 diff --git a/Mohammad Farukh/11 May 2020/Q1_11 May 2020.py b/Mohammad Farukh/11 May 2020/Q1_11 May 2020.py new file mode 100644 index 0000000..667ed30 --- /dev/null +++ b/Mohammad Farukh/11 May 2020/Q1_11 May 2020.py @@ -0,0 +1,23 @@ +def findSingleOne(arr, n): + temp = arr[0] + for i in range(1,n): + temp = temp^arr[i] + + return temp + + +# creating an empty list +arr = [] + +# number of elemetns as input +n = int(input("Enter number of elements : ")) + +# Input from the user +print("Gives the Elements of Array") +for i in range(0, n): + ele = int(input()) + arr.append(ele) # adding the element + +# Printing That Element + +print("Element that Occuring once is : ", findSingleOne(arr, len(arr))) \ No newline at end of file diff --git a/Mohammad Farukh/11 May 2020/Q2_11 May 2020- Output.PNG b/Mohammad Farukh/11 May 2020/Q2_11 May 2020- Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..25cdd6802870c10b7ee1d8b232fb23e781ef2383 GIT binary patch literal 17966 zcmeIZd03KbyEja$(#q6UrB)6!TREkbniG|ktI^V&2h6b)#36@Nq@|fpnOdvN%9PB~ zoIq2+5mJ{@nxZ*?qLP}DASxoDAn@MW^XzZ!y`SgZ-|@ZgANxCw-EmY0a9#H`oWJXL zp6Bm6@B3FS+bC|>u>k}EDW3c7v>gbv8V>^ff?FpCe6zGYECKj$Rk)qaDG;VZV-onV zCg9|ylORxey28@+wZP}~A-}nVgFu@uE&p8=@Nm^P5a>+Pxzi`FMSF6F=;*yR*R@5r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HDfxOj%pe=1!gea73-y(>eeK87MAL}gn zhLP>w(Trc-%)nL{(SB50g=Q<|3uc^-i7^Ubxi}*qLmIFCF93~O?ugr;x4iI=9dU!V zNQkYaDAT|O9v^ofDjmnEq_;?>m;{3+u~gUCI(#NErCWXYZ%f8Kx}AuR6Y?yE_r?m@ z^u5+w=I!N@`B64q624Fuwk*#w!L(Cz`H-fH_Gx?;5+p%4EXP1`JYcdI~X7tJj{uekzW+Jf4sTMcG(%! zl^JTl(7MGTE9BjzS?tnR%V?!NxbhzxD!9DsBVSjxn2~@`YkA9)=LJ#IiKAcR)lBwT z{K*pn(eR%C+vfj|zD@s^_WRGY|BfX7k9Pi}o&WwC;XfYo9}oHe&_k*gkIuroApDKG`#^l#^nSJ+&<^M3$%<^Spc literal 0 HcmV?d00001 diff --git a/Mohammad Farukh/11 May 2020/Q3_11 May 2020.py b/Mohammad Farukh/11 May 2020/Q3_11 May 2020.py new file mode 100644 index 0000000..2cbaf1f --- /dev/null +++ b/Mohammad Farukh/11 May 2020/Q3_11 May 2020.py @@ -0,0 +1,13 @@ +def maxst(n): + temp = 0 + while True: + if temp + 1 < n: + temp += 1 + n = n - temp + 1 + else: + break + return temp + + +i = int(input("Enter number")) +print("Number of staircase", maxst(i)) \ No newline at end of file diff --git a/Mohammad Farukh/11 May 2020/Q4_11 May 2020- Output.PNG b/Mohammad Farukh/11 May 2020/Q4_11 May 2020- Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..68a3a8c80f5fcddeda89bb5a74816d20f5f9e3fd GIT binary patch literal 13712 zcmeHtc~sI{zqgHMnl_o0)A2NznVOYaqFCBFHkg*?kcd`fj!0<=3TS0!X=xo(D^oJ3 zoO6N{gwT}I98L}>1UTe~2xy>!z>9UBdvEtX&vW0q-gW-aRf6Kz0?QIpx+O;O+jg@}K z&Ky%vs7O{`ytGQ*R=RfLLYRWW`ZG(vWquEq4Jas>?K*k<*m;CEhe1!-*>p>PGP)<{ zQ+w>E-lX2CzP_m=d5o}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GKS;_Dw=N zwLqcRj&r$5HU`6>K$!za2Dt-tDVLoSt0=tNtA+3QQLs&{VM%qbvD+m_)&QEh(`iV^-!ca2G>5l=||~NbdC(@8Ck;=u;LyXE!E$K*(%Hq(u^m+ zHAW(MOsLx=GpLZ?16v|n!lP?F6R4~x{q27nQNC%^@IltkOX6d!{wOCcL>&6tR9gK0 zVbNN*k1Xy!gZm*rcZw|jEF4zO27Q;2az&Ntv^k{;{^M;)Fj<_eq9<8Oe#)DM>pkxwV9gi7UnYOnTR zl+(UdT&j0W&U_a}27QEMp<$O8f7>)wd?&8nB>k9!djHZb+taiiL%C_FPU)re=BJZ^V{I8#OP?`Yc<*Y*bsmvKE^je zl8lLSjijX2oZUZ^dwq!B)v2Z2Z6}#l(@nc1vX7|(EplXHnNi%-*1x)Z9RPpdUB3Hu z>A`=xrDJ)W%^7RKEGs4m+Hna!G9g?!xoL4xgCxI@^}T4O_lN!YlJR{<`o_TVkR3m$ zoOEt+(t-p=>>KryEhY|ex#`{#Pkts>a*<4B&Hr8*;1_|Gjcbb(&- z+pRwg`uj)<2Rzp>O$dvD3)`kQmq&91ac8aX{P1uOQD{vDtiJv*e2fwM;@JzZ2Yk<8 z!Z#CqkdlYvpcV)-dagb$JpTI~tG> z`19J&{KsA7e~bIyA$|Y#&Hs{({|oECd&uxFd;6EY{jcSf|DS!Xtsp_Rs_pI+-dNBJ Rlp~~Y@;ArhWwsY@{~z%Ke-8iv literal 0 HcmV?d00001 diff --git a/Mohammad Farukh/11 May 2020/Q4_11 May 2020.py b/Mohammad Farukh/11 May 2020/Q4_11 May 2020.py new file mode 100644 index 0000000..9e97d19 --- /dev/null +++ b/Mohammad Farukh/11 May 2020/Q4_11 May 2020.py @@ -0,0 +1,19 @@ +def path_of_grid(m): + ls = [] + for i in range(m): + temp = [] + for j in range(m): + temp.append(0) + ls.append(temp) + for i in range(m): + for j in range(m): + ls[i][0] = 1 + if i >= j: + ls[i][j] = ls[i-1][j] + ls[i][j-1] + else: + break + return ls[-1][-1] + + +n = int(input("Enter array size:")) +print(path_of_grid(n) % (10 ^ 9 + 7)) \ No newline at end of file diff --git a/Mohammad Farukh/11 May 2020/Q5_11 May 2020- Output.PNG b/Mohammad Farukh/11 May 2020/Q5_11 May 2020- Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..36d8c57b1329cfd6a8770b4c8ad3335278e758bc GIT binary patch literal 15511 zcmeHudpy+X`?qSNlEY>riAn9U${`Us&1_j&TPSkKX+lDbV`GFd9Z^oTgc7qPavH{A z#4xitO(Bz<#tbIJFb87HFf(T6nQFiLZNI<6^ZcII^ZfVyBl&#hGxz7Zuj{_9`~AM( zm%C>jY~^}`&rVWOThLNcn^U(*OYZD%RM3+Aw<+4m_M{Z5f8T=S;+wz| z_9vvI(3!FuzFQ^N+arFt5G^I8X#eTorogmK@1>+Hb?tsWaX!|EH9e{ZdKJZ@sysK4K4^pWd@hXb4$ zPb5gc=|FwG`QgJy4u30!h3^7or})Eb+q6fo`n6T z)({}OX+h;10U*JU> z;*X>^O;iz+h0`!0@?WU=j33IIJgGgcj69v#(vMFjAnFyRN4dkP7wlhYll$O`IHp&ySK9G)dkyQdx7VX*N{pYm0+Y+GdrA%1w#%UZdOYn>Ce5#&+dHX-4SKK zUhsj8+e0?(YnQ3~cBF%K=*K^90n#-Nnl2$0w7VKZM&~x>pRwc?G@k%PeSxW1jkp8+ zgovpdr@LkYeGY}SMIcsrnqNmuGG+%M#a|QpfTGdrwZY042WWKyp|c$W{vWh%lV-q) z*x2`&!M7eV6sYu=%w%HV;tQR{!f!~2iEaDj>Qol-=YdUY^I6fvXJ1F!!!tz=aY$R) z3A8e8nyLU2c8@DqPQ-BwSXWr8bi`UJr6N$a1|VdJ|?R zn#f5et%10#X%zxtFq4MaLa7H8!WYL}pI6?xBnS&q6(w28!uY6vJ(GRzhe)@WSLNvKK$=txr z%w&*&H7&ATOi3EDDdb;TBiyATD3x8ATAMJcKOx})@Nu)CBk3QE#TL$iv zX^a|CaB~gG@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)nXbIl9! z%Ve46_$5E%zu5WF&cuau)29Hn3?A7Ow_C0}^$X89{mD6>Iz<25<@%q^G#~}eIt{)n zJ(Aai6Q%!il}hff4-oEATLsvlAV}OA4Dq8rV&(PM56I~QKVDoOmo-o}NL+mQoaPf- z9{aw?cCLNl?3W~XoJ4|34n-ui>;Fx<{b%<7UrhPmU-?&^^Z#20{Y_2%_gnt;EaP+X z{Fdd-h`>`mHz$$ SI8EYpDLWg7pHU|--uz$2p N)): + return mid; + + # Condition to check if the + # left search space is useless + elif (mid * mid < N): + return sqrtSearch(mid + 1, high, N); + + else: + return sqrtSearch(low, mid - 1, N); + + return low; + + +# Driver Code +if __name__ == "__main__": + + N = float(input("Enter the Value to find the SqureRoot : ")) + print(sqrtSearch(0, N, N)) \ No newline at end of file diff --git a/Mohammad Farukh/12 May 2020/Q1_12_05_2020 - Output.PNG b/Mohammad Farukh/12 May 2020/Q1_12_05_2020 - Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..7819cf4bba9286b7e6e6e93dc701e405939c6d05 GIT binary patch literal 14415 zcmeHtd05ih+BVJEpq<)TIX3OgEUio}Q7o-&Qc80uMJh6LL{mgXWLFM5HQjAZD+e-D zbHYdkMTI7%G>1||CBPv?LBJtELEuB%=X|I4JLmeo_q*Od&mUg8e#t4^g*YiC0 z&O6$#U8S`O0068#ed@Rq0I-A!04(0Oa=GfuPNOYGs$Yvjo$PG^xHg?JRbi>mF^6LS z06ul~+|^~OvRd$|OQ8V3I*0k6MLx-k`T+ooZ>NtRyBOicXZm7y+Fv#3R~%w7Z)mKu zy>fJFG~mW^-BUY!53To8Q&WSC0=h_xLQcI5XZUx&?RkC8;?(L7FXxik$so_56E}Pi zuCCwyc1hRT4AP#&vFLp0cK!PCi*rW2o~ZseCYv1K^>W8aaUEuZh-f2^oFpn|k_KCa z4bE26qD@H#*ht*>PpeJ#jl({4+Qd+1Qk65QgZfa+3(-t_qP}(IOwYr0%@U3T<7p-D zpLyjOJyAPoFI3jfOk>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S>Uti7i2_m~J;GI7_pISv&R}(ky0yDpm(SfE~OIFRd4XB4{ zFp+Fzh+*&ogaOaWfhJ$wbP}eKF}`D=Umbps^oEhX)feL?R3!UCV!lDKW2I)e~ z{$^Hbg}t3<-4FDf;{|D37l8I9C=~iEqe7_yXtSq{8RK*4I`Qu>nH~-yVcyPeWGe^i z8Ywz+g);-Gihuf#(|Ix?Mfq~g7aIjnJ_uKcG5eN{Z~ifasbQGKLPzTi{>5?g7%-rC zVR*nsIA|ttb{dLSS$F70w(JdXbt*Gl?D}T&g00-Dm64?w<52dpX2i(+ zmiQmS|ECv7TI8sLnSj|#R=z``&=U;y!k+DS+Crj8t9=qF$^^;DNb&3@Rhr`O3umy< z&`xste|F#g{f_=r^XeB87BiOBD8bAK?!X(S`rcYP|NSY05>hT&P4vGDwUPJQY?|L^ zlbPWP1>$Os%*6Va|NR8)Hc<{=F}$uZ%NN=tFXw@NaPcp9E+JR7`BSD0Loew_%jYXh z`yZwy9r`@HvmClxwb`8A#PRI=@!V}c+7+&0vLj|6jxs*L77+diMhmq2m#*diTTR-* zFv`Sz_`G=K!DE10|9Ija3}Z)1tQ+T#?4j!x=y{e&tS7GgGso52aw!cF^vKY;un0igeo;y1: + for i in range(2,n//2): + if(n%i)==0: + return False + else: + return True + else: + return False + + +l= [ + [1,2,3,4], + [5,6,7,8], + [9,10,11,12] +] +n=3 +m=4 +count=0 +for i in range(n): + for j in range(m): + sum=0 + if 0<=i-1: + sum+=l[i-1][j] + if 0<=j-1: + sum+=+l[i][j-1] + if i+1<= n-1: + sum+=l[i+1][j] + if j+1<= m-1: + sum+=l[i][j+1] + #print(sum) + if prime(sum): + count+=1 +print("Number of adjacent prime sum",count) \ No newline at end of file diff --git a/Mohammad Farukh/12 May 2020/Q2_12_05_2020 - Output.PNG b/Mohammad Farukh/12 May 2020/Q2_12_05_2020 - Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..ed759571e410282279202f6ed783b99fc16b4fcd GIT binary patch literal 17766 z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ode 100644 index 0000000..1fa7851 --- /dev/null +++ b/Mohammad Farukh/12 May 2020/Q2_12_05_2020.py @@ -0,0 +1,45 @@ +# The Main logic + +def search(mat, n, x): + i = 0 + + # set indexes for top right element + j = n - 1 + while (i < n and j >= 0): + + if (mat[i][j] == x): + print(" n is Found at ", i, ", ", j) + return 1 + + if (mat[i][j] > x): + j -= 1 + + + else: + i += 1 + + print("Element not found") + return 0 + + + +# Code for matrix input from user + +N = int(input("Enter the number of rows:")) + +# Initialize matrix +mat = [] +print("Enter the entries rowwise:") + +# For user input +for i in range(N): # A for loop for row entries + a = [] + for j in range(N): # A for loop for column entries + a.append(int(input())) + mat.append(a) + +# Input Element to be Search +Search = int(input("Enter the Element to Search:")) + +# Call the Function +search(mat,N,Search) \ No newline at end of file diff --git a/Mohammad Farukh/12 May 2020/Q3_12_05_2020 - Output.PNG b/Mohammad Farukh/12 May 2020/Q3_12_05_2020 - Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..e73d046c6b42afd10583f49840ad1e558d266c97 GIT binary patch literal 17249 zcmd_RcUY6@)-N2#f{KFUC`E)A9Yri4prDjw1Qi`c6r@*aK`B8n^bj2cRH}oDiVzT` z*8rg>2m_%A0jVKC1f-=9DM=t9$$5ga_dEOS{q1wU_x;}M`mS^S;Np6oJmtREz1Huy z*6&`=lN;BKc5dId9RvdHymI-1DG0QY3oNXe^Vm^P*K$T z$ClqKr;=YgyUQB(p3+!eR;%#|OaVtte?AS{G*6$-?%eFMY0LZ>IR(aoM?FWqcCtdg z1xt)pcX>IfJqlCRK6F*Z?Zd$`4bz*ZFKA2O&W%>@+N~@$auIo*^N~gW0$JQn4l*DV;nLFP_CwMh7H@@hKZGP(9K`@$KR3~Vz-I<6X`1YfCPBeeEzikZxO)#VC9P)K znE98-XBJA4P0)*;k{d!E@4^yRr$qHo5F3C0=FH-EaBspCXg zenv+_{^~vAH=&;%mw88BT7{h$6TC(^RBssWMd+OnPD(hc;TM`kE)XXPM_ysz1!|^D z*D@|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-~Al5pJP4bFgi_Ml^^fU?)1wQyuRxtax5g>>^G`+xwBcId1-hpNsI6yp42A< zy9kx0tj-}2C|Ep%zd@|NTx*rOeRNY))--10K2!X_UX4bBa+~xt5&o1HnjF_eBh;fx znM;xG1zr{1-XlTBbA(0SUn|qu$s5Zu{Yq_B@2a&2u8q$2E#^+g%y%%gn!9q?Y;?EX z{mM#v7Dh*I@Qoz@IdhP*Zy09JqF7>RtB(Y>FJRJkNb)olQY0KzzaE{(&#@N;)Tg-B z-j94A{Ot~-)~b6S8Iv2uL5J4$dwX)uhx%B%iR_GMYe^dGGg*LLlGE(uIR<_L_`UH` zs#qd;fIK25|3dctFB(YyTb@RKyq>qE{PN$PxBdSm fcbV{R7Dkdz558R*Kz>lca)oPPTsfI94n literal 0 HcmV?d00001 diff --git a/Mohammad Farukh/12 May 2020/Q3_12_05_2020.py b/Mohammad Farukh/12 May 2020/Q3_12_05_2020.py new file mode 100644 index 0000000..8449331 --- /dev/null +++ b/Mohammad Farukh/12 May 2020/Q3_12_05_2020.py @@ -0,0 +1,27 @@ +# Code for matrix input from user + +R = int(input("Enter the number of rows:")) +C = int(input("Enter the number of columns:")) + +# Initialize matrix +matrix = [] +print("Enter the entries rowwise:") + +# For user input +for i in range(R): # A for loop for row entries + a = [] + for j in range(C): # A for loop for column entries + a.append(int(input())) + matrix.append(a) +count =0 +sum = 0 + +#logic is Here +for i in range(R): + for j in range(C): + if ((matrix[j][i]) == 1): + count = count + 1 + if count % 2 == 1: + sum = sum + 1 + +print(sum) From a15caa058aeecbc8b071423f20f7459528fd35c5 Mon Sep 17 00:00:00 2001 From: Mohammad Farukh <65119875+iamFarukh@users.noreply.github.com> Date: Fri, 15 May 2020 15:35:49 +0530 Subject: [PATCH 2/6] Add files via upload --- .../13 May 2020/Q1_13_05_2020 - Output.PNG | Bin 0 -> 6009 bytes Mohammad Farukh/13 May 2020/Q1_13_05_2020.cpp | 18 ++++++ .../13 May 2020/Q2_12_05_2020 -Output.PNG | Bin 0 -> 7269 bytes Mohammad Farukh/13 May 2020/Q2_13_05_2020.cpp | 54 ++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 Mohammad Farukh/13 May 2020/Q1_13_05_2020 - Output.PNG create mode 100644 Mohammad Farukh/13 May 2020/Q1_13_05_2020.cpp create mode 100644 Mohammad Farukh/13 May 2020/Q2_12_05_2020 -Output.PNG create mode 100644 Mohammad Farukh/13 May 2020/Q2_13_05_2020.cpp diff --git a/Mohammad Farukh/13 May 2020/Q1_13_05_2020 - Output.PNG b/Mohammad Farukh/13 May 2020/Q1_13_05_2020 - Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..1af37b0c754f3be01d08f42fa4b15042b7e26556 GIT binary patch literal 6009 zcmeI0c~n#9w!lNR;)Kywi%PMG6`q2q*#>oDgdvxrz`a zmZ%YtA&CPJF_5SzQ39q65+INekpu`Kgb*^GoQGX^y?fVt@BZ=DTkHLG|2W^--}lE} z`|SPg-`RWrwlBorVgA?iArOc|V8HG$2;?(=2*hsF+&MERr~jN&JM*$j3-jLzVZDQm z%xq@I?+D%jfjputu>Sn{%zj=zcvWO4AP$1Xn4ZU6#tTokx_$H6l(>VDy=dqL0U z{E2;j)pPR4?!p08XFy6Q=wMFvW3 zGYb!}X!tnLBqB+zS^=E&*Fx0McOlJ6ItcEAsyEw2a-bO>fznzsonCA$E^7df1g$ z&)I{;(Js)lDWBo}^(k9F|6Q!)D5+_82DolXRq?2!<`~J-?Am-47SSE(95f!c+VFTK zno@|)k1fvKcI)2lgT-ZD-$!>1#JcevlRs$7{}>@1@M=&MoU$d~0u47TsC}BvzEp@C z%&zZ{2P_yWJ>Gc5X;1wGmn)#eO1~uYE>PzBYyCr9hTL(QUfo7Yn)CTJ;`~drx|S)$ z4=wUxeZkdQ(#5MO)l7|nod%h{B2O^%XZ(C20IG>gi$>hG`hfk4gL5OegRY(vdak)i z4_`sf0_YUaUPQT`5TtaU|||yH}>A46)2oO%{bGCz8Bnz$ z!UqE{$1rPWrO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zx&hC2eu>oVe3KqnPSEL3;>+}Z)UXeMD6?lz*BhH%Lg5t+lH-?<*fZVM zAG0A7QFCWT80S)ELl*zf!i$x#Li9bAaR=slsWw~W>fFI$9>9Ki)>1L^2botPbgk*V z=!d7KY$XM$--b2-Az5liGQ{Y%OYTOvm2Lex?qwUnIyF6OBCUTZS&^?AIu4*>3$`sB zBf9VVxj;zbhdI}039_ffIGkgx?X?VE1H{nla6OXCU7GghA-NlX>e^JEFUnS7SkO53 zOU;Hz$@N<#%VQAmcf12-P70dPF%lnFc;#u6M4J*U&)B2ya)*%ET6pC*hzT`T=vSAt zU1yS0P0QH0L}bGtszYBhU1odjkVeAy9L%Q02d^Q`-;6!lQ^V9|;()-Ug%0U#Utz~hr##LOHh9b%yo$1woDPId+D%jq2EjRZ;gzb$n zRO&=NF=U_^l=f%&k{K-Z)t~h66bKcW4`tCskaSdd_v~yz)Rm;=eK3xS8qBHg;oO@% z&|pH6^FC>;kSA>1*E#i0U5MUnD{x=nKT9|3xlDcGWt-9O+Gu5w*sEj@ZuJLR(H7cZ zSX1h|gH4^{Ex4o)H9|!L{P(Nc%uwKMUCLIQ!mXBhrvAVui+Bjwyqyq!575}AH@9uv zavZqvYrBv0r*x6|(?$JWfLky= zQmL{(D+@w4SD~9tcYm6Eub=fC=lWlo*8kqd{`=&goBDry +using namespace std; + +// Area of triagle using : 1/2(h*b) +int Area(int height,int base){ + return (height*base)/2; +} +// Area of triagle using : 1/2(a+b+c) +int Area(int a, int b, int c){ + return (a+b+c)/2; +} +int main(){ + cout<<"Area of Triangle 1/2(h*b) : "<z@Y7TTF z;V0k#&|b7=<=kq`vB4$8nG^t6d*bWTioC5g3jmgiBR+8dD`A4^pxwy?LT00G$Y{q)y>@Yo}TJqT;Inft>;0~ z5lD%hWR#WmAkx|QPfp(`{{h#BDjxSwfUUmTF*HNsRlpazoBSr)qo{A8Vk#BK==kPx zWO<8sxW(P%-vr%T(xRKslC=RFjuZ7xw{COBpEY(;QFFsVYlqF}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>s5A3G(#H0RT1puO;o>(iX4oYpyDjJHnX9#DVs9Dn~^*r zJ5?$CI|#!(^`4SdsgpEfiytm=Wur2+&|O?-T|dD{v}aqeTbJ*mSLL*T5z7LvC?8C!tfEm5)-k zR7-u$QXMwMy%O^-^ON4~gGxIH8epz|A8{g)6{f-r;66vgV`y@%oHu5h})I7W?J(IZ&a zU)>H!Fmd?qPgFOVQD>jM#TWXqG&~(AtVWcPsx>p)h`TXuFbb?Nz{yEyO^8xXKE-Wa zdz^E+16G)5*HOF>VJ}{QIjei0yC;~fL3ZIr4abgVjP*PwFS5f3y)Z!O<%}?Hconq* zq1tb!C!G)dnm%{8D|)~Sd$H7N#51#ut!o$W@OKBriI(PEF`T=dzmU3TYvDZycO|>q4h25WELwzj0m=S@RkX +using namespace std; +class height { + int meter,centimeter; + + public: + void Entry(){ + cout<< " Enter Meter : "; + cin>>meter; + cout<< " Enter Centimeter : "; + cin>>centimeter; + } + void show(){ + cout << "Meter:" <=100){ + temp.centimeter%=100; + temp.meter++; + } + return temp; + } + +}; + +int main(){ + + height H1,H2,H3; + H1.Entry(); + cout< Date: Fri, 15 May 2020 15:39:55 +0530 Subject: [PATCH 3/6] New FIles added for ass #4 Q 2 is done --- .../14 May 2020/Q2_14_05_2020 - Output.PNG | Bin 0 -> 6943 bytes Mohammad Farukh/14 May 2020/Q2_14_05_2020.cpp | 52 ++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 Mohammad Farukh/14 May 2020/Q2_14_05_2020 - Output.PNG create mode 100644 Mohammad Farukh/14 May 2020/Q2_14_05_2020.cpp diff --git a/Mohammad Farukh/14 May 2020/Q2_14_05_2020 - Output.PNG b/Mohammad Farukh/14 May 2020/Q2_14_05_2020 - Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..e7f4fc3c3a2ae198a7ab1c3effd7375bf8dbb31d GIT binary patch literal 6943 zcmeI1c~nzbp2vd=s37QAg2~2L_q$okQ#HB2(QbAE<69Q6Hn$3uS5J>VYD5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&7^;wJ$M2+B6M6}W3ccJHwux=w3v(f+@)s zwO(5lcyS^Il%Kn|=IK%0j)%MWQ~pF7?AX z)wGqhbSe=lzLs&BDBjzm2nOV0k7>eC4fghW0NCd z;ti3w&XZIp3i6#@|2DjB-!@GSlUuelkro$Ie1xg;4*@PCWHW&9bUU$wb_&N-S;g34 zez3o?u4)UWLA+vmi_Qz&na={>`l_Y?I7|0w+3T$Z>*k&-`{lX z3hQ}ZX8pVf8=y7*obw?75&n3xIU@ZX(M1q&NiDLwIYBswOvd!a!@__>pW^f%Z}$x? z*z@U^Zj>h&rQiqVM{4Wi!^UZ0p#28Z^4LZmKMfnX26~0yzLvl#{&DGjw+)2$wtmj+ z3N1+H{E)mc3oJDpCp8!+%9k!augMl2xi1`5tUmC`KinGs>{RoAMZWw0LHzaF=Ks!2 gtXbr%4JJ-GLB~QibuAb#wIE*~3Hq|(P;B160xe?36aWAK literal 0 HcmV?d00001 diff --git a/Mohammad Farukh/14 May 2020/Q2_14_05_2020.cpp b/Mohammad Farukh/14 May 2020/Q2_14_05_2020.cpp new file mode 100644 index 0000000..12e9633 --- /dev/null +++ b/Mohammad Farukh/14 May 2020/Q2_14_05_2020.cpp @@ -0,0 +1,52 @@ + +#include +using namespace std; + +class date{ + int day; + int month; + int year; + + public: + void input(){ + cout<< " Enter Day : "; + cin>>day; + cout<< " Enter Month : "; + cin>>month; + cout<<"Enter Year : "; + cin>>year; + } + date operator +(date D){ + date temp; + temp.day = day + 1; + temp.month = month; + temp.year = year; + if(temp.day>30){ + temp.day =1; + temp.month++; + if(temp.month>12){ + temp.month =1; + temp.year = year+1; + } + + } + + return temp; + } + void show(){ + cout<<"=======> Increased Date <========"< Date: Mon, 18 May 2020 07:45:42 +0530 Subject: [PATCH 4/6] 15 May 2020 (BY - FARUKH) New Assignment Added --- 15 May 2020/Q1_15_05_2020 - Output.PNG | Bin 0 -> 10435 bytes 15 May 2020/Q1_15_05_2020.cpp | 77 +++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 15 May 2020/Q1_15_05_2020 - Output.PNG create mode 100644 15 May 2020/Q1_15_05_2020.cpp diff --git a/15 May 2020/Q1_15_05_2020 - Output.PNG b/15 May 2020/Q1_15_05_2020 - Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..9af4364d600ea245ad6afe2a41e02c6ddd7b6456 GIT binary patch literal 10435 zcmd^lc~q0v+Haf?6aYCQ<3prC-jK?DU7FhZh`go=u7h1fbE z3Zxc+10tXdVF(EkYXp=iGlUEnAcYW;fEmbmcd+NHUr*P!&RX}6d+)lemBoIiy`TMz zzu)t|-yQZnV76ra5(orhcJP~hM z?s>v?Z>+MMSAWywyFDwWf6LWGtQ&atqrUn2RLlAKzNU2Bo{=XX3JL9Zptr~m8k zlE_=~$DxB{1*M7dufHV}FNuyx&@F&KC^va#5Xd59AphaCx#1Na&LeDs$z+zb&)#E8 zK3kR%iKFgjJelYkz8Na8R$VHTKjBNPMikm(YQge{P1$H%$h)kH1f0#X;)cHyL-U>q zoA!PuL}!MLs}`mO)>%s7$NDSep}P|tK$*I z9DhzCE{jPp9o~qz-7z3kg}80<9=!~MyjHKEH=6Afy}9IwrFuK|U%9k;8He_hcohYG zN=6qhPYES4jZlzqP7%+#?L8tY8rhsay}{#}MFKl|TZM1p>B*xcVhhe=rAOm9WaV&p zNot$+dbAqt_I`jU|C(&RA}6UJz4W{48j5^)j!@E-O zFdN$PL8{ba_e*uoNjO{=r-g-(GO^b2aL`*tfsNtCLz$SIQ*Cdxqu#X zWdd97R1j5?uz<=A>Uxk!nCak#pkY&(AHE9TS$CDXHY3wzpEK)<3s<#U#2pg{vk+_I zI#p&WM2Yt{KjDY#!@4zDr26B%SL$-fVI=Zs*!cR;26$IeLA5q@)UKiyYwHT-aDx`7Yx|Y;#=zeM=RylI^9=&TS)TlZe{x!!(JAzPP)Sos?_Vq7&z=pZAIRTq4FbE`0+K%3Ta z#+Sld^UL5sNaU^l@_TxKiZ5#QGcPqkMNj`zu3a6`UP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h0QOES1mA|V_YL7uT#9NwX;GPx{@?G)O+p!f;sju+v_OO2a zeI1Gd!!8|wG{=foQc$c4v$o9olBJo2)7=Ks^chtQKPxSFWO)S*5j^m}J>Kx@iHLN7 z2)!!WHSd{_IHG(=SmT8}H&oQ!se{S%or`Z*c0|(Mdn+u5^EVR$5a;1#+>>IC4FvlH zP_TlfPQxz=w-!FOcwyhxd)w)3dc=@!J*PuKkKLh+nm@8WQ9ph?AU-ckZn4IZ)t>R&IqFE7t`ZGcFcYy1>Hle!*O5DF6 zPMlisYHO1kygH(EFc5mpt?f$dtM7U<3vyE~DWrgfTGQ2~4>*#dx9TbW0)X-6P-lV} z$I$L*emu*(^It8wKgY~pN7DamXPX&Zf`Vg)vLMsXLGO2;X0MD;$JP$e>F!Lh7Sfd^Y}!>Tu+iR2o_Y^fOFUy t!zX#4uJ@n4Nc^OY_P;&E*6X|VP`BzFhHW};6et05@N3_F +#include +using namespace std; +int run =0; + +class team{ + public : + + int run = 0; + int ball=0,input,count=0; + vector m1({-2,-1,0,1,2,3,4,5,6}); + + int SuperOver(){ + while(ball<6){ + cin>>input; + if(input == (-2)) + ball++; + else if(input == (-1)) + run++; + + else if(input == 0) + ball++; + + else if(input == (1)){ + run++; + ball++; + } + + else if(input == 2){ + run+=2; + ball++; + } + else if(input == 3){ + run+=3; + ball++; + } + + else if(input == 4){ + run+=4; + ball++; + } + else if(input == 5){ + run+=4; + ball++; + } + else if(input == 6){ + run+=6; + ball++; + } + + else + cout<<"Envalid Entry"< m1({-2,-1,0,1,2,3,4,5,6}); + team Team1 , Team2; + cout<<"Team1 :: Bowling and Team2 :: Batting "< Date: Mon, 18 May 2020 07:47:51 +0530 Subject: [PATCH 5/6] 15 May 2020 (By - Farukh ) New Assignment Added --- .../15 May 2020/Q1_15_05_2020 - Output.PNG | Bin 0 -> 10435 bytes Mohammad Farukh/15 May 2020/Q1_15_05_2020.cpp | 77 ++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 Mohammad Farukh/15 May 2020/Q1_15_05_2020 - Output.PNG create mode 100644 Mohammad Farukh/15 May 2020/Q1_15_05_2020.cpp diff --git a/Mohammad Farukh/15 May 2020/Q1_15_05_2020 - Output.PNG b/Mohammad Farukh/15 May 2020/Q1_15_05_2020 - Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..9af4364d600ea245ad6afe2a41e02c6ddd7b6456 GIT binary patch literal 10435 zcmd^lc~q0v+Haf?6aYCQ<3prC-jK?DU7FhZh`go=u7h1fbE z3Zxc+10tXdVF(EkYXp=iGlUEnAcYW;fEmbmcd+NHUr*P!&RX}6d+)lemBoIiy`TMz zzu)t|-yQZnV76ra5(orhcJP~hM z?s>v?Z>+MMSAWywyFDwWf6LWGtQ&atqrUn2RLlAKzNU2Bo{=XX3JL9Zptr~m8k zlE_=~$DxB{1*M7dufHV}FNuyx&@F&KC^va#5Xd59AphaCx#1Na&LeDs$z+zb&)#E8 zK3kR%iKFgjJelYkz8Na8R$VHTKjBNPMikm(YQge{P1$H%$h)kH1f0#X;)cHyL-U>q zoA!PuL}!MLs}`mO)>%s7$NDSep}P|tK$*I z9DhzCE{jPp9o~qz-7z3kg}80<9=!~MyjHKEH=6Afy}9IwrFuK|U%9k;8He_hcohYG zN=6qhPYES4jZlzqP7%+#?L8tY8rhsay}{#}MFKl|TZM1p>B*xcVhhe=rAOm9WaV&p zNot$+dbAqt_I`jU|C(&RA}6UJz4W{48j5^)j!@E-O zFdN$PL8{ba_e*uoNjO{=r-g-(GO^b2aL`*tfsNtCLz$SIQ*Cdxqu#X zWdd97R1j5?uz<=A>Uxk!nCak#pkY&(AHE9TS$CDXHY3wzpEK)<3s<#U#2pg{vk+_I zI#p&WM2Yt{KjDY#!@4zDr26B%SL$-fVI=Zs*!cR;26$IeLA5q@)UKiyYwHT-aDx`7Yx|Y;#=zeM=RylI^9=&TS)TlZe{x!!(JAzPP)Sos?_Vq7&z=pZAIRTq4FbE`0+K%3Ta z#+Sld^UL5sNaU^l@_TxKiZ5#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vHc{tJ@gwe>>;qMcIh0QOES1mA|V_YL7uT#9NwX;GPx{@?G)O+p!f;sju+v_OO2a zeI1Gd!!8|wG{=foQc$c4v$o9olBJo2)7=Ks^chtQKPxSFWO)S*5j^m}J>Kx@iHLN7 z2)!!WHSd{_IHG(=SmT8}H&oQ!se{S%or`Z*c0|(Mdn+u5^EVR$5a;1#+>>IC4FvlH zP_TlfPQxz=w-!FOcwyhxd)w)3dc=@!J*PuKkKLh+nm@8WQ9ph?AU-ckZn4IZ)t>R&IqFE7t`ZGcFcYy1>Hle!*O5DF6 zPMlisYHO1kygH(EFc5mpt?f$dtM7U<3vyE~DWrgfTGQ2~4>*#dx9TbW0)X-6P-lV} z$I$L*emu*(^It8wKgY~pN7DamXPX&Zf`Vg)vLMsXLGO2;X0MD;$JP$e>F!Lh7Sfd^Y}!>Tu+iR2o_Y^fOFUy t!zX#4uJ@n4Nc^OY_P;&E*6X|VP`BzFhHW};6et05@N3_F +#include +using namespace std; +int run =0; + +class team{ + public : + + int run = 0; + int ball=0,input,count=0; + vector m1({-2,-1,0,1,2,3,4,5,6}); + + int SuperOver(){ + while(ball<6){ + cin>>input; + if(input == (-2)) + ball++; + else if(input == (-1)) + run++; + + else if(input == 0) + ball++; + + else if(input == (1)){ + run++; + ball++; + } + + else if(input == 2){ + run+=2; + ball++; + } + else if(input == 3){ + run+=3; + ball++; + } + + else if(input == 4){ + run+=4; + ball++; + } + else if(input == 5){ + run+=4; + ball++; + } + else if(input == 6){ + run+=6; + ball++; + } + + else + cout<<"Envalid Entry"< m1({-2,-1,0,1,2,3,4,5,6}); + team Team1 , Team2; + cout<<"Team1 :: Bowling and Team2 :: Batting "< Date: Mon, 18 May 2020 07:50:17 +0530 Subject: [PATCH 6/6] 16 May 2020 and 17 May 2020 (By - Farukh) --- .../16 May 2020/Q1_16_05_2020- Output.PNG | Bin 0 -> 13301 bytes Mohammad Farukh/16 May 2020/Q1_16_05_2020.cpp | 58 ++++++++++ .../16 May 2020/Q2_16_05_2020- Output.PNG | Bin 0 -> 15024 bytes Mohammad Farukh/16 May 2020/Q2_16_05_2020.cpp | 105 ++++++++++++++++++ .../17 May 2020/Q1_17_05_2020- Output.PNG | Bin 0 -> 16734 bytes Mohammad Farukh/17 May 2020/Q1_17_05_2020.cpp | 33 ++++++ .../17 May 2020/Q2_17_05_2020- Output.PNG | Bin 0 -> 18767 bytes Mohammad Farukh/17 May 2020/Q2_17_05_2020.cpp | 31 ++++++ .../17 May 2020/Q3_17_05_2020- Output.PNG | Bin 0 -> 12826 bytes Mohammad Farukh/17 May 2020/Q3_17_05_2020.cpp | 23 ++++ 10 files changed, 250 insertions(+) create mode 100644 Mohammad Farukh/16 May 2020/Q1_16_05_2020- Output.PNG create mode 100644 Mohammad Farukh/16 May 2020/Q1_16_05_2020.cpp create mode 100644 Mohammad Farukh/16 May 2020/Q2_16_05_2020- Output.PNG create mode 100644 Mohammad Farukh/16 May 2020/Q2_16_05_2020.cpp create mode 100644 Mohammad Farukh/17 May 2020/Q1_17_05_2020- Output.PNG create mode 100644 Mohammad Farukh/17 May 2020/Q1_17_05_2020.cpp create mode 100644 Mohammad Farukh/17 May 2020/Q2_17_05_2020- Output.PNG create mode 100644 Mohammad Farukh/17 May 2020/Q2_17_05_2020.cpp create mode 100644 Mohammad Farukh/17 May 2020/Q3_17_05_2020- Output.PNG create mode 100644 Mohammad Farukh/17 May 2020/Q3_17_05_2020.cpp diff --git a/Mohammad Farukh/16 May 2020/Q1_16_05_2020- Output.PNG b/Mohammad Farukh/16 May 2020/Q1_16_05_2020- Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..78c5c0973524e49639672f63c310db859de1d818 GIT binary patch literal 13301 zcmeHuXH-+$)^_X##Da<_MK1y>0v14e^jMH?L8J$yNmpr7k|-SIa1Ig$LQ{x^B9agk zLZrqVJw!l=21tMyB8L(oB$1Lp5|aJx=y~std&julF=7pk8x$^ zi?S^obBj`S6s6Sjw&-ceRUNNP(WjI@Hx$ zWK5x;^5^m;4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_E7-|76#K!geHCvC5C>`k12I@BfjPUJtK?i?o}&IACk zYGZhn|9JMOF<5m91*o!J1o&5#Z?9NV(jg;o1T6lN$+?l;)HzJEb!{Ds;Jeq5a z_^JdF?t$xd#{H@R>uQD9?s{l)tSd;^bn?YC(CAetq*+6awH3df_3ry2NI#<^OWoY`@F5WF78R~O>r z^~n@jG<{|u>RIZIM-o9FwH*J%_bwCG|AI-1k(Q6cssTGDsaj~EDl^<~h^(fT+CGz~ zEL6^}VZde<_xDdJVaAjCW(r!QqGgam!FU>aud_<=Z_>>+Y9gZAGq{oJU4Byp7B-b| zgnhmExu5=78zC&>N>P1!>Et-$V?7ce)-^BL92;U_)}MihE8hTaee7xU{1R@S?cx7kDJ`6;|QsdEE9w|#&4;0 z{AijAm5Yd^OFv57N!lk#w{8evsHAN_WMAnacR~R%br?EpJ4F6TGLC{1Qa<7-Eoq5( zMa}LoR1Ow8+(}Ebj(-)%MWZA+m-GUIlsEpphOQ0FX#c1a+|mZb7{F5|6CedL9Z&$| zZ4dd^0*2y_@WDhx5)Ue$K@CF{uZN~7NMHdey|f#AxdnEV3jqEP0JMz%qY5v1AV*m# z>QRt<=}aY5RwbFN#3TcXa>tuPKT7)lsz@hWBqF89phRV`{ifYNM9%J06s(SawD|4; zpqv{VyW0pUkNEdV!Q`_Aikr?~|C&EyNy5ed&<^tN$Ncx@qyIg8`_J!LgR1?X!Qy{M z`@a{x6fX9!JoCR^@^Amkz<*u&KPVsnH +#include +#include +using namespace std; +float scanNum(char ch) { + int value; + value = ch; + return float(value-'0'); //return float from character +} +int isOperator(char ch) { + if(ch == '+'|| ch == '-'|| ch == '*'|| ch == '/' || ch == '^') + return 1; //character is an operator + return -1; //not an operator +} +int isOperand(char ch) { + if(ch >= '0' && ch <= '9') + return 1; //character is an operand + return -1; //not an operand +} +float operation(int a, int b, char op) { + //Perform operation + if(op == '+') + return b+a; + else if(op == '-') + return b-a; + else if(op == '*') + return b*a; + else if(op == '/') + return b/a; + else if(op == '^') + return pow(b,a); //find b^a + else + return INT_MIN; //return negative infinity +} +float postfixEval(string postfix) { + int a, b; + stack stk; + string::iterator it; + for(it=postfix.begin(); it!=postfix.end(); it++) { + //read elements and perform postfix evaluation + if(isOperator(*it) != -1) { + a = stk.top(); + stk.pop(); + b = stk.top(); + stk.pop(); + stk.push(operation(a, b, *it)); + }else if(isOperand(*it) > 0) { + stk.push(scanNum(*it)); + } + } + return stk.top(); +} +main() { + string post; + cout << "Input String / Expression "<>post; + cout << "The Output"<2fA`)Gw;yu$IVbz7$`L<=j?On;pMPJ3-239Aj*i1Y_XGP+B?gPRe)y{#l)?1u z7hNVl_@1Ede>(T*QTfp3^DCAAECmM;J1n{RK&d%9(>*tU7et83T$ zmwq?0nyJ(D#tJ^7M@+O!NHOJXh(tW{swf+Ti(|!QlO@2S@kEJITshd{AHl9{*4WN@ zNSkJl$@&6f*2Pd4F3WC0QVQo6g-}?E1VP*tj8)4=YKiJd*<)5p@%&r~G$>{AB++61 zK7W4Axk8v$4uiPN73!{o&i?{E+oV-XAyjz)tv+$0h_IGAkxMO|e|y-ai(;sw^E+k0 zBc@5#w)yFiFAlCW>w>_N#q}eZ#KqC`Pvn#3Rr2)1)? zuGhL#52>n7xOjZR#Hj_>HE)%fu*$UOL3Di_=}9z zWU$8whbrbINp->LfwaP#K1X*JJ^Xw*Rrj6$jz4c7`uuotg~cClKVR0>+|d75uZJuB zTvz?8*U_8i|6u^vtWMXz#(L@Ujvjru-#QR?+uk@wkok&U2}y%D}%11DU)eP zf85{m_bleD^I!ZVacjk@$FwIF30jS8zcvb+Tm#66mY6v==;_6N@5M;jR+B|!tE03D z@oyhb9mZDAzw@Q}FEXW=F;5kGh5}o7w_l}=5o5I+8qhl;#0(Sevd|JlN&Vln9%WSd z6}GapBiNl9p*E>vo+(`@9f?7+u$CHyQgcxjq@6LltJHR4%{447sv;4nAl+rVEVTbZ z;-&mHFVWTb$gW}KI9D95ClyD4C3(xalDqf;3p0DMrUyZQTnI=1V%4X=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5r0@=-d{_TycF%mGk)<813C$^~6>~U9o#_EEzlq!TmnBo47mDvev@vNwXrq*`WL2|C#Z-yL&5T~N8EPSyxsf9 z-xovyuKPWGVc;1C(+$pg_wr(6AlO{RBmcsmd|^Nt^26#Qn_vCJi93yd^#xiQ{&s+c zGbFB3A$WqlS3^#YUX=%Wbz#Jgx+DI2-39K4n2r0mPtaa; zq{-aUB}??4%^2B+z_B+4&mYz@iaG+P=JN)KpfYYtm6F4vm2;9iNmvyjAURMtBl`w) z2IW82eMFU-%2{)#+l4%r&lx>^md~uXhm>gWy24qh043+jwz|a2{;>6lW74F=)vRVT z*sBNZ_LB(MdX)7EuJ`AwIX!=;C1OZ(lZ4>xa_i5*RDV@r{;SRqoblfe;(T80e_HeT zXSRPUgZ;yje^~NQ73Ke3DFd`s|KSMXKbGs?PF4QHl7Cq8`MkzIj_Myr^^c?azwM}g dg843D3C8ft%^S}>08O!u`@v%eDqYWA|8Grn3#kAA literal 0 HcmV?d00001 diff --git a/Mohammad Farukh/16 May 2020/Q2_16_05_2020.cpp b/Mohammad Farukh/16 May 2020/Q2_16_05_2020.cpp new file mode 100644 index 0000000..e6dd473 --- /dev/null +++ b/Mohammad Farukh/16 May 2020/Q2_16_05_2020.cpp @@ -0,0 +1,105 @@ +// CPP program to convert infix to prefix +#include +using namespace std; + +bool isOperator(char c) +{ + return (!isalpha(c) && !isdigit(c)); +} + +int getPriority(char C) +{ + if (C == '-' || C == '+') + return 1; + else if (C == '*' || C == '/') + return 2; + else if (C == '^') + return 3; + return 0; +} + +string infixToPostfix(string infix) +{ + infix = '(' + infix + ')'; + int l = infix.size(); + stack char_stack; + string output; + + for (int i = 0; i < l; i++) { + + + if (isalpha(infix[i]) || isdigit(infix[i])) + output += infix[i]; + + else if (infix[i] == '(') + char_stack.push('('); + + else if (infix[i] == ')') { + + while (char_stack.top() != '(') { + output += char_stack.top(); + char_stack.pop(); + } + + // Remove '(' from the stack + char_stack.pop(); + } + + // Operator found + else { + + if (isOperator(char_stack.top())) { + while (getPriority(infix[i]) + <= getPriority(char_stack.top())) { + output += char_stack.top(); + char_stack.pop(); + } + + // Push current Operator on stack + char_stack.push(infix[i]); + } + } + } + return output; +} + +string infixToPrefix(string infix) +{ + + + int l = infix.size(); + + // Reverse infix + reverse(infix.begin(), infix.end()); + + // Replace ( with ) and vice versa + for (int i = 0; i < l; i++) { + + if (infix[i] == '(') { + infix[i] = ')'; + i++; + } + else if (infix[i] == ')') { + infix[i] = '('; + i++; + } + } + + string prefix = infixToPostfix(infix); + + // Reverse postfix + reverse(prefix.begin(), prefix.end()); + + return prefix; +} +// Main Fuction :) + +int main() +{ + string s; + cout<<"Enter A Expression : "; + cin>>s; + cout << infixToPrefix(s) << std::endl; + return 0; +} + diff --git a/Mohammad Farukh/17 May 2020/Q1_17_05_2020- Output.PNG b/Mohammad Farukh/17 May 2020/Q1_17_05_2020- Output.PNG new file mode 100644 index 0000000000000000000000000000000000000000..2195f51c086c648cee400610066120732102122f GIT binary patch literal 16734 zcmd_QXIPWl_Ag3Nu!4$$4OlJnf&QIsMOf>IJn5^SKLprRl(f(5CO z7FtM9MAR6fQUU~$P$L9LAcR0dlKV#2-goVD_rCvg{`Y=4&-vhkZ{GRNImej4F~)C< zG4GzUvst@p>nb@pxwWTG9&?bBQ$)zgDX6bd0)AP}GW-hskq>vU`BSdEefv1@uq@!H z?NK?oiqzFh7ncLiE5lB@hs(*Wvz7gm54b1Kl#}~|ck0+tCxp+`fV4`F<*hTnsQ45d zkG{UYIO@q!uvy6YH*~}1M-TcU@0+BI_SKx(v1?axr~lBvZ@xS49e~`+*-={A=yT)d zz8$_j7ax*uT-GD~xx#yK^=~&1y1Ef0*Yv$bS%xNycXh;bX9W=g%YhCnR!*$H5D#+3 zKAQe=XuuwwnTNs@76#0YV*6FFbm6sy@4DCo!?>B`!BGl*1v*CjlB)>jDjwbU^0C9| zeJ?x5J4d=Rh#P#O`7U*fFJ0fUh}>3gCI!D8#Mi;7bAJwc>@e{@$l)FxI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lz=CpQhTPi{~T$U(ee7-wG_SRRM)ng^-T>n_9WPFPx_! z^yN9JDJw|57h%{jZ1G0|5{vACw;lPPUitN(C;Lh(w{r{9Oa2xx{PS7=+yjSrUND58 zbUe%F2z#!FJ^DE|{adleKd0vJ&Ncm=tnrAkbN-bf+CrKIk-PIBs?AK18=ArMrz z9Pu%p9y+t!wnYQ^h0Ncfrp+u*qutabZTDt2ljaHuG$rP@&5ozZ6gW* literal 0 HcmV?d00001 diff --git a/Mohammad Farukh/17 May 2020/Q3_17_05_2020.cpp b/Mohammad Farukh/17 May 2020/Q3_17_05_2020.cpp new file mode 100644 index 0000000..8a9f7c7 --- /dev/null +++ b/Mohammad Farukh/17 May 2020/Q3_17_05_2020.cpp @@ -0,0 +1,23 @@ + +#include +using namespace std; + +int Add(int x, int y) +{ + // Iterate till there is no carry + while (y != 0) + { + int carry = x & y; + x = x ^ y; + y = carry << 1; + } + return x; +} +int main() +{ + cout << "Addition ==> "<