 
        
        
          Добавил:
          
          
        
        
    
            Upload
            
            
            
            
            
            Опубликованный материал нарушает ваши авторские права? Сообщите нам.
          
          Вуз:
          Предмет:
          Файл:1 семестр / LR1-23-Kucherenko
.cpp// LR1-23-Kucherenko.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
#include <math.h>
#include <conio.h>
int _tmain(int argc, _TCHAR* argv[])
{
	double S,PI,R,H; 
	PI=acos(-1.0);
	printf("Enter parameters R and H\n");
	scanf("%f %f", &R, &H);
	getch();
	S=R+H;
	S=S*R;
	S=S*2*PI;
	printf("%f %f %f", R,H,S);
	getch();
	return 0;
}
          Соседние файлы в папке 1 семестр
          
      
    
    
    
          