Untitled
unknown
c_cpp
a year ago
589 B
3
Indexable
#include <iostream> #include <cmath> #include <string> #include <windows.h> using namespace std; int fuf2(int z) { return z; } int fuf(int a, int n, int m,int s, int b ) { int cost = a * (m * n); int cost2 = s * b; int sum = cost + cost2; int& chozanafig = sum; cout << chozanafig; Sleep(1000); system("cls"); cout << fuf2(sum); return 0; } int main() { int a; // earth int n; //w int m; // h int s; // ho,e square int b; // eath h cin >> a >> n >> m >> s >> b; system("cls"); fuf(a, n, m, s, b); }
Editor is loading...
Leave a Comment