2 a)
Write a for loop to print the numbers from 1 to 50
Answers
Answered by
1
Explanation:
for(int i=1;i<=50;i++)
printf("%d"i);
Answered by
1
for(int i = 1; i <= 50; i++){
if(i % 10 != 0){
Console.Write(i);
Console.Write(" ");
}
}
Similar questions
English,
5 months ago
Math,
5 months ago
English,
5 months ago
Social Sciences,
10 months ago
English,
1 year ago