Trending ▼   ResFinder  

ICSE Class X Notes 2019 : Computer Applications

41 pages, 77 questions, 1 questions with responses, 3 total responses,    3    0
General Numan
Sri R. V. School, Kolar
+Fave Message
 Home > numan90368 >   F Also featured on: dishitaswaika icse

Formatting page ...

Looping Q.No : 1. // Program find sum of digits import java.io.*; class sumdigit { public static void main(String arg[]) throws IOException { int n,r,s=0; InputStreamReader read=new InputStreamReader(System.in); BufferedReader in=new BufferedReader(read); System.out.println("Enter Number"); n=Integer.parseInt(in.readLine()); while (n!=0) { r=n%10; s=s+r; n=n/10; } System.out.println("The sum of the digit ="+s); } } Enter Number 2356 The sum of the digit =16 Q.No : 2. // Program to find reverse of the number import java.io.*; class reverse { public static void main(String arg[]) throws IOException { int n,r,s=0; InputStreamReader read=new InputStreamReader(System.in); BufferedReader in=new BufferedReader(read); System.out.println("Enter Number"); n=Integer.parseInt(in.readLine()); 1

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


ResPaper Admins

(1)

Chethan Magadi

(1)

Bob Bird

(1)

Jᴀɴɪᴄᴇ Cp

(1)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

numan90368 chat