Home | Computer Science
13.write a programme using scanf

#include<stdio.h>
main()
{
int a,b;
printf("value of a");
scanf("%d",&a);
printf("value of b");
scanf("%d",&b);
{
printf("%d %d",a,b);
}
getch();
}

OUTPUT

14. Write a programme using integer with (%)

#include<stdio.h>
main()
{
int a,b,c,per;
a=75;
b=65;
c=68;
per=(208*100)/300;
printf("%d",per);
getch();
}

OUTPUT