how to print reverse of number in java

Creating a true/false java quiz.

Creating a true/false java quiz using BlueJ can be done through several steps. Below is an example Java program that…

2 years ago

TOP 10 ANDROID MULTIPLAYER GAMES (UNDER 500MB 2023)

TOP 10 ANDROID MULTIPLAYER GAMES UNDER 500MB.(2023) Clash Royale Clash Royale is a real-time multiplayer game where players collect and…

2 years ago

Top 5 Marvel games for android with high graphics in 2023.

When it comes to talk about marvel we always say that we love marvel movies,but if we talk about marvel…

2 years ago

How to create a function which initialize a 1-d array ar[] of 15 integers and print the sum of all the integers which are present at odd indexces.

import java.util.*; public class SumOfOddIndexces { public static void print1() { Scanner Sc=new Scanner(System.in); System.out.println("Enter 15 Integer"); int a […

2 years ago

How to design a overloaded function. java icse class 10

Make class Check to design the overloaded function primes() as:i. void primes(long num) - To print only prime digits from…

3 years ago

Write a program to input a character. Convert the character into its opposite case. Program should continue as long as the user wants.

import java.util.*; class alphabet { static Scanner in=new Scanner(System.in); public static void main() { char c=' '; do { System.out.println("Enter…

3 years ago

How to write a java program to accept n numbers as input from user till user inputs 0, the program will terminate when user inputs 0, after terminating the sum of all positive numbers and sum of all negative numbers will be displayed on screen.

import java.util.*;class Nums_Sum{public static void main(){Scanner in=new Scanner(System.in);double n=0,sp=0,sn=0;do{System.out.println("Enter number ");n=in.nextDouble();if(n>0)sp=sp+n;if(n<0)sn=sn+n;if(n==0)System.out.println("0 input terminating.");}while(n!=0);System.out.println("Sum of positive number "+sp);System.out.println("Sum of negative number…

3 years ago

How to write a java program to accept a number as input from user and check whether it is a special number or not.

import java.util.Scanner;class Special_Number{public static void main(){Scanner sc = new Scanner (System.in);System.out.println("Enter any no.");int n = sc.nextInt ();int f = 0;int…

3 years ago

Top 5 Anime to watch as a beginner.

Firstly what is an anime:---- An anime basically is an animated cartoon.it have several types of generes like: *Romance   *action   …

3 years ago