fork download
  1. //Charlotte Davies-Kiernan CS1A Chapter 5 P. 297 #19
  2. //
  3. /******************************************************************************
  4.  *
  5.  * Analyze Budget
  6.  * ___________________________________________________________________________
  7.  * This program will prompt the user to enter an ideal amount for a budget
  8.  * per month. The program will then ask the user to enter their expenses for
  9.  * the month and let the user know whether they are under or over their budget
  10.  *
  11.  * Formula that will be used:
  12.  * totalAmount = budget - totalExpenses
  13.  * ___________________________________________________________________________
  14.  * Input
  15.  * budget
  16.  * expenses
  17.  *
  18.  * Output
  19.  * totalAmount
  20. #include <iostream>
  21. using namespace std;
  22.  
  23. int main() {
  24. // your code goes here
  25. return 0;
  26. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Standard output is empty