WAP to input a number a number and find its cube
Answers
Answered by
0
Answer:
please follow me and please Mark me brainlist answer
Explanation:
WAP to input a number a number and find its cube
Answered by
1
Answer:
: Find cube of the number upto a given integer
Pictorial Presentation:
Sample Solution:
C Code: #include <stdio.h> void main() { int i,ctr; printf("Input number of terms : "); scanf("%d", &ctr); for(i=1;i<=ctr;i++) { printf("Number is : %d and cube of the %d is :%d \n",i,i, (i*i*i)); } } ...
Flowchart:
C Programming Code Editor:
Similar questions