#include <stdio.h> int main() { int x=1,n; printf("Enter n value "); scanf("%d",&n); while(x<=n) { printf("%d\n",x); x++; } return 0; }
Enter n value 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Java program that takes two numbers and display the product of two numbers
Add all the digits of a given positive integer until the result has a single digit
Write a Java program to compare two numbers
Write a java Program to print palindrome number upto N numbers
Write a Java program to convert seconds to hour, minute and seconds
Write a python program to checking internet speed
Write a Python Program to Find the Factorial of a Number.
Write a Python program to convert Celsius to Fahrenheit.
Write a python program to checking if a string is empty or not ?
Write a Python Program to Print the Fibonacci sequence.
Java Quiz - 13
Java Quiz - 14
Java Quiz - 8
Java Quiz - 10
Java Quiz - 2