Questions & Answers


Recent Questions & Answers on Programming With Java: A Primer - E Balagurusamy

Q

Write a program to print the following out puts using loop &&&&& &&&& &&& && &

Oct 18, 2023

By: ruwandiruwi

0 Answers

500
Q

An election is contested by 5 candidates. The candidates are numbered 1 to 5 and the voting is done by marking the candidate number on the ballot paper. Write a program to read the ballots and count the votes cast for each candidate using an array variable count. In case, a number read is outside the range 1 to 5 the ballot should be considered as a ‘spoilt ballot’ and the program should also count the number of spoilt ballots.

Nov 18, 2018

By: 27masha10

1 Answers

500
Q

Write a statement to declare and instantiate an array to hold marks obtained by students in different subjects in a class. Assume that there are up to 60 students in a class and there are 8 subjects.

Nov 02, 2017

By: shrajon01

1 Answers

500
Q

cha-5 all review ans need

Sep 16, 2017

By: pronobsarker1600

0 Answers

500