Untitled
в 2 строчкиAnonymous
c_cpp
11/25/2023 6:29 PM
360 B
11
Indexable
#include <iostream>
using namespace std; int main(){setlocale(LC_ALL, "russian");int a=0;int b=0;int c=0;cout << "введите гипотенузу\n";cin >> a;cout << "введите какет\n";cin >> a;int c2 = a * a + b * b;c = sqrt(c2);cout<<float((a*c)*0.5);}Editor is loading...
Leave a Comment