#include <iostream>
using namespace std;
int main()
{
int i, j;
double d;
i = 10;
j = 20;
d = 99.101;
cout << "Here are some values: ";
cout << i;
cout << ' ';
cout << j;
cout << ' ';
cout << d;
cout << "\n";
return 0;
}
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Nice one. I almost forgot about the cin >> and cout <<
Good example. I want to do something similar thinking if is possible to get non computer programming students to learn some programming.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit