enter

0

#include using namespace std; int main() { int n; cout << "enter an integer: "; cin >> n; if ( n % 2 == 0) cout << n << " is even."; else cout << n << " is odd."; return 0; }

By Wooden Hammer Mary Harvey at Mar 29 2021

1

to perform the requested action, wordpress needs to access your web server. please enter your ftp credentials to proceed. if you do not remember your credentials, you should contact your web host

By Wooden Hammer Chris Green at Sep 13 2020

1

o perform the requested action, wordpress needs to access your web server. please enter your ftp credentials to proceed. if you do not remember your credentials, you should contact your web host.

By Beginner Lee Metz at Jul 19 2021

0

Write a C++ program that displays a Letter Pyramid from a user-provided std::string. Prompt the user to enter a std::string and then from that string display a Letter Pyramid as follows: It's much easier to understand the Letter Pyramid given examples.

By Beginner Jimmy Lehner at Nov 10 2020

0

algorithm for define structure to enter employee information like name, id, salary and date of joining. use nested structure to get address of employee. wap to read 10 records and display the details of employees.

By Beginner Clever Chinchilla at Jul 14 2021

0

Write a program that asks the user to enter an integer and prints two integers, root and pwr, such that 0 < pwr < 6 and root**pwr is equal to the integer entered by the user. If no such pair of integers exists, it should print a message to that effect.

By Beginner Salvador Berge at Oct 02 2020

0

i=int(input("enter the number")); sum=0; pro=1; while(i>0): d=1%10; if (d%2==0): sum=sum+d; else: pro=pro*d; i=i//10; print("sum=",sum,"product=",pro);

By Beginner Devin McGlynn at May 27 2021


Related code examples


Code examples by languages