answer this question?[report abuse] Write a program in c plus plus to read the names of users and numbers of units consumed and print out the charges with names?
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
char username[50];
double numbersofunitsconsumed;
cout<<"Enter user name: ";
cin>>username;
cout<<"Enter numbers of units consumed: ";
cin>>numbersofunitsconsumed;
cout<<username<<" "<<numbersofunitsconsumed;
getch();
return 0;
}