#include using namespace std; int main() { double leashamt,collaramt,foodamt,totamt; cout<<"enter the amount spent for a leash : ";
By Wandering Worm at Jan 17 2020
i need to write an int function in which there are only cout statements and if i return 0/1 it prints them too.
By Orlando Effertz at Dec 21 2020
#include using namespace std; int main() { int a = 3; float b = 4.5; double c = 5.25; double sum; sum = a + b + c; cout << "The sum of a, b, and c is", sum << endl; return 0; }
By Rita Larson at Dec 22 2019