Trending ▼   ResFinder  

ICSE − Q & A

475 Users in the Group
Moderator: Trisha Pattnaik  
+Join

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

Program - 10 Marks, VD - 3 Marks, Comments - 2 Marks.
Also, In Comp Exam, Instruction is Given on the Question Paper: 

Each program should be written
using Variable descriptions/Mnemonic Codes such that the logic of the program is
clearly depicted.

So Please Write VD and Comments, or Lose 5 Marks.
asked by Oof. (eash13) 8 years ago
2
//this my program plz tell me the errors
import java.util.*;
public class tnaminatina
{
 public void check()
  {String a="",b="";
      Scanner sc=new Scanner(System.in);
    System.out.println("enter sentence");
   String s=sc.next();
   System.out.println("enter sentence");
   String g=sc.next(); 
   System.out.println("enter sentence");
   String d=sc.next();
   a=s.concat(g);
   b=a.concat(d);
   System.out.println(b);
   b=b.toUpperCase();
   System.out.println(b);
   b=b.trim();
   for(int i=0;i96&&b.charAt(i)<=122)
     c=(char)b.charAt(i)+32;
    else
    if(b.charAt(i)>64&&b.charAt(i)<=90)
     c=(char)b.charAt(i)-32;
    }
      System.out.println(b);
   }

 
  }
asked by Adithya Kannan (adiketh198) 8 years ago
2

+ 1 more questions by adiketh198  

Is it necessary to write comments? 'Cause I've never done it in school, nor have I been told to do so.
asked by Lord Roshan the Great (lordroshan) 8 years ago
1
Question in comments
asked by Somnath Biswal (somnathbiswal) 8 years ago
1
guys can someone give me notes for functions like math.ceil , floor etc
asked by Nipun Koli (nio456) 8 years ago
1
difference between protected n private access specifiers
asked by Rayner Cardozo (rayner) 8 years ago
1

+ 1 more questions by rayner  

Strings are immutable right ( mentioned in the text ) apart from theory i want to know the practical  application of that.......Like we often change the data of the string many times by using library functions like .toUpperCase or etc.....we use s=s.toLowerCase(); and we get the right output but why not it happens if we write directly s.toLowerCase instead of creating a seperate String object ?? i mean can anyone explain the diff and say how Strings are immutable...practical application is equally important right..so plz
asked by MP Harsha (student58) 8 years ago
2
Guys I can take input in the function itself and thn give the output there only right ??
So in the caller program it would be just on.input(); 
Am I right??
asked by Abhishek Shyam (abhibenne) 8 years ago
1
I need Twisting Questions for Section A!!(ECONOMIC APPLICATIONS)
asked by Mustafa Ranapurwala (rmustafa440) 8 years ago
0
fany physical education students here??
asked by Hanu Pillai (jackandjill) 8 years ago
0

<< Prev

    Page 409    

Next Page >>


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