Ques(9):- An electricity board charges following rates to discourage large consumption of electricity- For 1st 100 units →Rs 4/unit Next 200 units → Rs 5/unit After 300 units → Rs 6/unit All users are charged min of Rs 500.If the total cost is more than 600 the additional service charge of 15% is added… Write a program to read the names of the user. His current meter reading and display the total charge against name of user.
Ques(8):- An election is conducted by 5 candidates. The candidates are numbered 1 to 5 and voting is done by marking the candidate number in the ballots paper… → Write a program to read the ballots and count the votes cast for each candidate using an array variable count. In case the number read is outside the range 1 to 5, the ballot should be considered spoit ballot and the program should also count the number of spoit ballots. Announce winner or if tied if possible..
Bca ist sem notes on BSA(business system and application ) notes
ReplyDeletehow to write a program?
ReplyDeleteQues(9):- An electricity board charges following rates to discourage large consumption of electricity-
ReplyDeleteFor 1st 100 units →Rs 4/unit
Next 200 units → Rs 5/unit
After 300 units → Rs 6/unit
All users are charged min of Rs 500.If the total cost is more than 600 the additional service charge of 15% is added…
Write a program to read the names of the user. His current meter reading and display the total charge against name of user.
Ques(8):- An election is conducted by 5 candidates. The candidates are numbered 1 to 5 and voting is done by marking the candidate number in the ballots paper…
ReplyDelete→ Write a program to read the ballots and count the votes cast for each candidate using an array variable count. In case the number read is outside the range 1 to 5, the ballot should be considered spoit ballot and the program should also count the number of spoit ballots.
Announce winner or if tied if possible..
very esay
ReplyDelete