J

@jayanth_balamurugan_R

random

C
2 years ago
#include <stdio.h> int main() { int a=33; printf("%d",a); printf("%d",a); return 0; }

problem no.3

C
2 years ago
#include <stdio.h> int main() { float num1,num2,quotient; printf("enter the first number num1\n"); scanf("%d",&num1); printf("enter the second number num2\n"); scanf("%d",&num2); quotient=num1/num2;

problem no.5

C
2 years ago
#include <stdio.h> int main() { int a; scanf("%d",&a); if (a*a<10) { printf("a*a"); }

problem no.6

C
2 years ago
#include <stdio.h> int main() { int a; scanf("%d",&a); if(a<100) { printf("%d is less than 100",a); if (a%2==0)

day of the week

C
2 years ago
#include <stdio.h> int main() { int week; printf("enter the day(1-7): "); scanf("%d",&week); switch(week) { case 1:

random

C
2 years ago
#include <stdio.h> int main() { int a,b; scanf("%d",&a); scanf("%d",&b); if (a==b) { printf("%d is equal to %d",a,b);

student grading

C
2 years ago
#include <stdio.h> int main() { int a,b,c; scanf("%d",&a); printf("enter your first subject mark:%d\n",a); scanf("%d",&b); printf("enter your second subject mark:%d\n",b); scanf("%d",&c);

voting eligibility

C
2 years ago
#include <stdio.h> int main() { int age; scanf ("%d",&age); if (age>= 18) { printf("eligible for voting"); }

even or odd

C
2 years ago
#include <stdio.h> int main() { int a; scanf ("%d",&a); if (a %2==0) { printf(" %d is an even number",a); }

positive or negative

C
2 years ago
#include <stdio.h> int main() { int a; scanf("%d",&a); if (a>0) { printf("%d is a positive number",a); }

multiple of 7

C
2 years ago
#include <stdio.h> int main() { int a; scanf("%d",&a); if (a%7==0) { printf("%d is a multiple of 7",a); }