Total members 11889 |It is currently Thu Mar 28, 2024 10:07 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





    I am totally lost with doing C++

    I have to write a while loops performing the following steps:
    a) Prompt the user to input two integers: firstNum and secondNum (firstNum must be less then secondNum)
    b) Output all odd numbers between firstNum and seconNum.
    c) Output the sum of all even numbers between firstNum and secondNum.
    d) Output the numbers and their squares between 1 and 10.
    e) Output the sum of the square of the odd numbers between firstNum and secondNum.
    f) Output all uppercase letters.[code][/code]




    Author:
    Post new topic Reply to topic  [ 1 post ] 

      Related Posts  to : write a while loops performing operations on number
     How to write a code for sorting array of 100 number in C++     -  
     convert integer number to octal,hexadecimal number systems     -  
     convert octal number to decimal number     -  
     convert decimal number to octal number     -  
     C++ For Loops     -  
     C++ for loops     -  
     Loops and Branching     -  
     Nesting Two for Loops     -  
     Break in Nested Loops     -  
     Re: Lets Learn C++----->(Lesson 4) Loops     -  



    cron





    Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
    All copyrights reserved to codemiles.com 2007-2011
    mileX v1.0 designed by codemiles team
    Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com