A

@amruthag

switch

C
3 years ago
#include <stdio.h> int main() { int day; printf("enter choice\n"); scanf("%d",&day); switch(day) { case1:printf("monday");

by useing switch

C
3 years ago
#include <stdio.h> int main() { printf("Hello world!\n"); return 0; }

switch

C
3 years ago
#include <stdio.h> int main() { printf("Hello world!\n"); return 0; }

to find largest three numbers

C
3 years ago
#include <stdio.h> int main() { int i; i=1; while(i<=5) { printf("%d\n",i); i=i+1;

smallest two number

C
3 years ago
#include <stdio.h> int main() { printf("Hello world!\n"); return 0; }

find largest two numbers

C
3 years ago
#include <stdio.h> int main() { !\n"); return 0; }

valued or invalued password

C
3 years ago
#include <stdio.h> int main() { int a=2365,b; printf("please enter password\n"); scanf("%d",&b); if (a==b) printf("it is correct\n"); else printf("it is wrong\n");

vowel

C
3 years ago
#include <stdio.h> int main() { int cha printf("enter any char\n"); scanf("%c"&a); if(ch=='a'|ch=='e'|ch=='o'|ch=='i|ch=='u' return 0; }

find lesser than of two numbers

C
3 years ago
#include <stdio.h> int main() { int a,b,result; printf("enter the values of a&b\n"); scanf("%d%d",&a,&b); result=a<b; printf("the less than of two numbers is %d\n", result); return 0; }

find area of square

C
3 years ago
#include <stdio.h> #define breath 3 int main() { float area,height=3; area=(4/3)*breath*height; printf("the area is %f\n",area); return 0; }

find area of circle

C
3 years ago
#include <stdio.h> #include <math.h> #define pi 3.142 int main() { float area,radius=2.3; area= pi*pow(radius,2); printf("the area is %f\n",area); return 0; }

area of circle

C
3 years ago
#include <stdio.h> #include<math.h> #define pi 3.142 int main() { float area,radius=2.3; area=pi*pow(radius,2); printf("the area is %f\n",area); return 0; }

find area of circle

C
3 years ago
#include <stdio.h> int main() { float area,radius; radius=2.9876; area=3.142*radius*radius; printf("the area of cricle is %f",area); return 0; }

welcome to c

C
3 years ago
#include <stdio.h> int main() { printf("welcome to c"); return 0; }