Добавил:
Dmitry_Prime
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:
#include <iostream> using namespace std; int main() { cout<<"Enter the world's population : "<<endl; float a,b; cin>>a; cout<<"Enter the population of the USA : "<<endl; cin>>b; float c; c=b*100/a; cout<<"The population of the USA is "<<c<<"% of the world's population"<<endl; return 0; }
Соседние файлы в папке 2