Want this question answered?
Be notified when an answer is posted
Chat with our AI personalities
#include<stdio.h> #include<conio.h> void main() { int a,b,c,d,e,ch; clrscr(); printf("enter 1st no\n"); scanf("%d",&a); printf("2nd no\n"); scanf("%d",&b); priintf("enter choice 1.add 2.sub 3.mul\n"); scanf("%d",&ch); switch(ch) case 1: c=a+b; printf("%d",c); break; case 2: d=a-b; printf("%d",d); break; case 3: e=a*b; printf("%d",e); break; } getch(); }
It means 4 atoms of Hydrogen.
#include<stdio.h> #include<conio.h> void main() { int a, b, c, d, e, f, ch; printf("Enter the first no. : "); scanf("%d", &a); printf("Enter the second no. : "); scanf("%d", &b); printf("Enter the choice as \n 1.Add\n 2.Sub\n 3.Multiply\n 4.Divide \n"); scanf("%d", &ch); switch(ch) { case 1: c=a+b; printf("%d", c); break; case 2: d=a-b; printf("%d", d); break; case 3: e=a*b; printf("%d", e); break; case 4: f=a/b; printf("%d", f); break; default: printf("Wrong Input"); break; } getch(); }
D=500
There were 48 Levite cities in the Holy Land (Numbers ch. 35).