January 2019 1 18 Report
{ int i, c1, c2, c3, ile=0;
for (i=100;i<1000;i++)
{if (i%2!=0)
{ c3=i%10;
c2=(i/10)%10;
c1=1/100;
if (c1+c2+c3>12 && c1+c2+c3<19)
{ile=ile+1; cout<< i << "," ;}
}
}





Proszę o przekształcenie na pętlę while jeśli można
More Questions From This User See All

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.