ok,,use also JOptionPane
public class Survey{
public static void main (String[] args) throws Exception {
String ques1 = new String("Is your family happy? ");
String ques2 = new String("Is your father have a work? ");
String ques3 = new String("Is mother have a work? ");
String ques4 = new String("All of you here studying? ");...
User Profile
Collapse
-
yes i make a code of that problem,but my teacher did'nt accept my code bcoz we did'nt disccus about System.in.read. ..we use only System.out.prin t...and also we use above import javax.swing.*;
This is my code, and my teacher did'nt accept it...we did'nt use throw Exception, we only use import
[CODE=java] public class Survey{
public static void main (String[] args) throws Exception {
String...Leave a comment:
-
-
Use any kind of loop to fate my problem
hi,guys i have a problem about in java, My question is....Write a program named survey.java that displays a serves of survey question,with one-character answer.At the end of the survey, ask the user if he/she wants to enter another set of responses.If the user responds no, then displays the result of the survey for each question...so guys that is my problem and I hope u can help me...thanks
No activity results to display
Show More
Leave a comment: