C++

PROGRAMMING a vending machine

You find a vending a machine that contains an unlimited amount of drinks. You decide that you are going to purchase a lot of drinks from the unlimited vending machine with your unlimited wallet. In this programming assignment, you will simulate this scenario that utilizes pointers heavily. I have uploaded a doc with all of …

PROGRAMMING a vending machine Read More »

Discuss the characteristics of leadership, the relationship of the leaders with

Discuss the characteristics of leadership, the relationship of the leaders with their people and whether the attributes that the leaders possessed caused them to succeed or fail in TWO of the following groups. Please note that a leader may be heroic, and that characteristic can certainly be discussed if appropriate, but this essay is on …

Discuss the characteristics of leadership, the relationship of the leaders with Read More »

Using scanf() Your job is to write a program that reads phone numbers from stand

Using scanf() Your job is to write a program that reads phone numbers from standard input using scanf(). Sample output: Your program should print out exactly what is described in the instructions above (no more, and no less). Here is some sample output: $ ./phone 9134874672 0 9134874672 9134874672 1 1 9134874672 5 7 9134874672 …

Using scanf()
Your job is to write a program that reads phone numbers from stand
Read More »

In this assignment, you are going to implement the toothpick game! If you haven’

In this assignment, you are going to implement the toothpick game! If you haven’t played the game, here are the general rules. A table contains 31 toothpicks. There are two players (in this assignment you and the computer) who will each take turns picking up either 1, 2, or 3 (cannot grab 4 or more …

In this assignment, you are going to implement the toothpick game! If you haven’ Read More »

1) Write a function named “getScoreInfo” that is given a two-dimensional array c

1) Write a function named “getScoreInfo” that is given a two-dimensional array containing the scores of students in a class. Each student will have exactly 5 scores (integers). A passing score is any score that is greater or equal 50. The function will return the number of students that have at least 3 passing scores. …

1) Write a function named “getScoreInfo” that is given a two-dimensional array
c
Read More »