1 votes 1 votes #include <stdio.h> int main() { int i,j,x; scanf("%d ",x); i=1; j=1; while(i<10){ j=j*i; i=i+1; if(i==x) break; } return 0; } Programming in C isro2018 programming-in-c + – Rakshita Jadoun asked Feb 4, 2023 retagged Feb 4, 2023 by makhdoom ghaya Rakshita Jadoun 601 views answer comment Share Follow See 1 comment See all 1 1 comment reply mahendrapatel commented Feb 20, 2023 reply Follow Share is question correctzzz?? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes syntax error in scanf line correct syntax: scanf(“%d”,&x); striver23 answered Feb 4, 2023 striver23 comment Share Follow See all 0 reply Please log in or register to add a comment.