Answer to Question #266477 in C for Sourav

Question #266477

write a program to compute the value of u for different values of x at distinct instances of time and plots the series of graphs on u vs plot.

1
Expert's answer
2021-11-15T17:27:36-0500
#include <stdio.h>


int main()
{
    int n;
    int t=20;
    
    for(int i=0;i<5;i++){
    printf("Enter values of x: ");
    scanf("%d",&n);
    int sum=n*t;
    printf("Value of u is:%d ",sum);
    printf("\n");
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS