// ConsoleApplication83.cpp: главный файл проекта.
#include "stdafx.h"
#include "iostream"
#include
#include
using namespace std;
int main()
{
setlocale(LC_ALL, ""); /*подключаем русский язык */
const int NotUsed = system("color 90");
int funt;
float kg = funt / 2.2046;
// увеличивает значение переменной x на величину, находящуюся в переменной dx.
while (scanf("%i", &funt) == EOF);
printf("%f ", kg);
system("pause"); /*останавливаем программу*/
return 0;
}
ну ввожу я 5/2.2046=5238234как так?
#include "stdafx.h"
#include "iostream"
#include
#include
using namespace std;
int main()
{
setlocale(LC_ALL, ""); /*подключаем русский язык */
const int NotUsed = system("color 90");
int funt;
float kg = funt / 2.2046;
// увеличивает значение переменной x на величину, находящуюся в переменной dx.
while (scanf("%i", &funt) == EOF);
printf("%f ", kg);
system("pause"); /*останавливаем программу*/
return 0;
}
ну ввожу я 5/2.2046=5238234как так?