Computer Science, asked by chakladershreyasi, 9 months ago

Develop a Java program using Blue J based on the concept of quiz competition (Scanner).
please anyone answer this.dont spam plzzz ....​

Answers

Answered by varshiniHY
4

class quizz

{

public static void main(String args [ ] )

{

int score = 0;

System .out. println ("Welcome to the game of quizz");

string questions [] = { "Fastest Bird " , " Tallest Building ", " Name of inventor of " Dynamite ", " Bengali Nobel prize winner "};

string answer [] = { " Eagle ", " Burj Khalifa ", " Alfred Nobel ", " Rabindranath Tagore "};

System.out.println (" Answer the following questions ") ;

for ( int i=0 ; i< = 3; i++ )

{

System. out. println ( question [ i ] );

string a = in . next ( );

if ( a . equals ( answer [ i ] ) )

score ++;

}

System. out .println ( " Your score is = "+ score );

}

}

Answered by BAAZ7466
3

Explanation:

The Short Answer:

Earth's tilted axis causes the seasons. Throughout the year, different parts of Earth receive the Sun's most direct rays. So, when the North Pole tilts toward the Sun, it's summer in the Northern Hemisphere. And when the South Pole tilts toward the Sun, it's winter in the Northern Hemisphere.

Similar questions