How do you end a c program starting with #include %26lt;stdio.h%26gt;?
Write a c program to evaluate a=(v-u)/t?
#include %26lt;stdio.h%26gt;
#include %26lt;conio.h%26gt;
int main()
{
int a,v,u,t;
clrscr();
printf("Enter v,u,t");
scanf("%d %d %d",%26amp;v,%26amp;u,%26amp;t);
a=(v-u)/t;
printf("a=%d",a);
getch();
return 0;
}
floral bouquets
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment