Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a C++ program that keeps taking positive integers from the user until user enters -1. The program counts and displays how may even and odd numbers are entered by the user. See the following example. Enter a number (enter -1 to exit): 5 Enter a number (enter -1 to exit): 34 Enter a number (enter -1 to exit): 4 Enter a number (enter -1 to exit): -1 You have entered 2 even and 1 odd numbers.

Output all the odd numbers between firstNum and secondNum inclusive.


create a student class to store 3 subject marks .Overload the display() function to 1. Display total using 3 subject marks 2. Display average using the total.

Make a program code reverse the display from N to 1 to 1-N, and how to accept the value N?

1. What do you mean by Program? Briefly describe the basic structure of C programs.


2. What is a token? Differentiate between a for loop and a while loop? What are it uses?


3. What is a data type? Differentiate between array and pointer. Write a program to interchange 2 variables without using the third one.


4. What is an array of pointers? Is it possible to have negative index in an array? Why is it necessary to give the size of an array in an array declaration?


5. Submit a Report "the impact of improving debugging skill on programming ability"


Write a C++ program called Winner.cpp for the hackathon competition, the program must do the following: 1.1 Declare all necessary variable and constants. 1.2 Declare a parallel array named candidate and initialize it using the information given above. 1.3 Declare four parallel arrays named judge1Score, judge2Score, percScore, totalScore and initialize them using default values as indicated above. 1.4 Populate the judge 1 score array with random numbers from 1 to 100. 1.5 Populate the judge 2 score array by allowing the user to enter the judge’s score . 1.6 Calculate the total score per candidate and store the results in the correct array. 1.7 Calculate the total for all the candidates’ scores. 1.8 Calculate the percentage for all votes for each candidate and store the results in the correct array. 1.9 Display the competition details . 1.2. 1.10Determine the candidate with highest percentage and display the candidate as well as the highest percentage


Third year programming students have entered a hackathon competition and they are judged by two judges who gives them a score from 1 to 100. You are required to write a program that will help the organizers to tally their scores as well as to determine who the winner is.


1. What do you mean by Program? Briefly describe the basic structure of C programs.

2. What is a token? Differentiate between a for loop and a while loop? What are it uses?

3. What is a data type? Differentiate between array and pointer. Write a program to interchange 2 variables without using the third one.

4. What is an array of pointers? Is it possible to have negative index in an array? Why is it necessary to give the size of an array in an array declaration?

5. Submit a Report "the impact of improving debugging skill on programming ability"


Write two procedure called mean_(int N) and var_(int N) that calculate and display the mean and variance of N real entered from the keyboard (without using an array).


The administrator will log in to the system using their admin usernames and passwords. They will then be given an option of making a cash deposit for normal users, create an account for new users and also be able to change their own administrator passwords.


1. Administrators should be able to do all the 4 minimum roles stated, which are:

a. Login to the system

b. Deposit money for client

c. Register a new Client

d. Change their own admin password from the default


2. Normal users should be able to do all the 4 minimum roles stated, which are:

a. Login to the system

b. Withdraw cash

c. Check their account balance

d. Change their own use passwords from the one they were registered with

3. Develop and correctly implement an algorithm that will enable the administrator to store user details in a local database file, usersDB.txt .



LATEST TUTORIALS
APPROVED BY CLIENTS