'basic консольное dim x as double, y as double, z as double, a as double, b as double a = 1.1 x = 0.2 b = 0.004 z = sin((x * x) + a) - sqr(x / b) y = (x * x) / a + cos(x + b) ^ 3 print "z = "; z print "y = "; y ' visual basic 2015 с формами dim x as double, y as double, z as double, a as double, b as double a = 1.1 x = 0.2 b = 0.004 z = math.sin((x * x) + a) - math.sqrt(x / b) y = (x * x) / a + math.cos(x + b) ^ 3 label1.text = "z = " + z.tostring label2.text = "y = " + y.tostring
Eduard Popik
17.02.2022
#include < iostream> #include < sstream> #include < vector> #include < string> using namespace std; int main() { cout < < "string: "; string s; getline(cin, s); istringstream ss(s); vector< string> v; while (ss > > s) v.push_back(s); int j=v.; for (int i=j; i> =0; cout< < v[i]< < " "; cout< < endl; system("pause"); return 0; }ввод - вывод string: one two three four fife fife four three two one
40% от1/4части равно 42%*75=31,5
1/4часть это 31,5/40%*100%=78,75
78,5*4части=315