December 2018 2 12 Report
Jak przerobic ten kod programu by działał też w zakresach ujemnych ? Daję naj :)

using namespace std;

int main(int argc, char** argv) {

unsigned long int a, b;

cin >> a;
cin >> b;

for ( a=a; a<=b; a++ )

if ( a%2==1) cout << a << endl;


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.