Cloud computing is the on-demand delivery of compute power, database, storage, applications, and other IT resources. These resources are delivered...
Continue reading...Learn2Done
Program in Java to check a number is palindrome or not
import java.util.*; public class prac2{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int reversed = 0; int...
Continue reading...Program in Java to display Fibonacci series
#include<stdio.h> int main() { int count, first_term = 0, second_term = 1, next_term, i; //Ask user to input number of...
Continue reading...Program in C to find largest number using if statement Copy
#include <stdio.h> int main() { double num1, num2, num3; printf("Enter first number: "); scanf("%lf", &num1); printf("Enter second number: "); scanf("%lf",...
Continue reading...Program in C to find largest number using if statement Copy Copy
#include <stdio.h> int main() { double num1, num2, num3; printf("Enter first number: "); scanf("%lf", &num1); printf("Enter second number: "); scanf("%lf",...
Continue reading...Program in Javato Print an Integer entered by the user Copy
import java.util.*; public class Learner{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int number=sc.nextInt(); System.out.println("Enter an integer: ");...
Continue reading...Program in C to find largest number using if statement Copy
#include <stdio.h> int main() { double num1, num2, num3; printf("Enter first number: "); scanf("%lf", &num1); printf("Enter second number: "); scanf("%lf",...
Continue reading...Program in C to find largest number using if statement
import java .util.*; public class Learner { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter first...
Continue reading...Program in Java to Print an Integer entered by the user
import java.util.*; public class Learner{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int number=sc.nextInt(); System.out.println("Enter an integer: ");...
Continue reading...Program in Java to check whether the given integer is positive or negative
import java.util.*; public class Learner{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int num=sc.nextInt(); System.out.println("Enter a number:"); if...
Continue reading...