Untitled
unknown
plain_text
a year ago
250 B
15
Indexable
#include <iostream>
using namespace std;
int main()
{
int x,y,z;
cin>>x>>y>>z;
int moneyFive=x*5;
int moneyTen=y*10;
int total=moneyFive+moneyTen;
int choclate=total/z;
cout<<choclate;
return 0;
}
Editor is loading...
Leave a Comment