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.

Expert's answer

#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!

LATEST TUTORIALS
APPROVED BY CLIENTS