#include <stdio.h>
int main()
{
float a = 5, b = 2 ;
int c , d ;
c= a / b;
d= a / 2;
printf (" %d %d \n", c , d);
return 0 ;
}
ANS:-
Success time: 0 memory: 2052 signal:0
2 2
#include <stdio.h>
int main()
{
printf ("nn \n\n nn\n");
printf ("nn /n/n nn/n");
return 0 ;
}
Ans
Success time: 0 memory: 2052 signal:0
nn
nn
nn /n/n nn/n
#include <stdio.h>
int main()
{
int a,b;
printf("Enter Values of a and b");
scanf ("%d %d ", &a , &b );
printf("a= %d b= %d ",a,b);
return 0 ;
}
Ans
Enter Values of a and b
a= digit 1 b= digit 2
No comments:
Post a Comment