Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
СПКИ АП КЭП 3
#include <iostream> using namespace std; int main(){ setlocale(LC_ALL,"Russian"); float a,b=7; int i; for(a=1; a<6000; a++){ if(((a+b)*(a+b))!=(a*a+2*a*b+b*b)){ cout << "Равество неверно при a=" << a << " и b=" << b << endl; i++;} b=b+0.25; } cout << "Неверных вариантов " << i << "(" << i/a*100 << "%)" << endl; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Estocasticos V1.1
qsort
cache_node.cc
Karibu
Click 5
Shared lock
string-Orderly words
Dar
CPP - Pointers - Ex.3
bharat
Please log in to post a comment.