Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

write a pseudo code for a program which generates even numbers between 1000 and 2000 and then prints them in the standard output.it should also print total sum.



Vishal is having a bunch of coins ranging from rupees 1 to 10. Help him to write program to find the sum and average of the coins that he is having using while loop.

What happens if the condition in a while loop is initially false? Explain and differentiate


between while and do while statement in ‘C’ language.

What is an expression? What are its components? Explain.

Write a program that accepts a letter grade as input and outputs the teacher’s remarks. Use


only switch, do not use any if’s. Example: If ‘A’or ‘a’, then “Excellent job!”. If ‘F’ or ‘f’, then “You


failed. Please study more next time”.

Write a program that takes as input a class score. Output the grade for the class based on the


following guideline:


 Exactly 100 is A+


 90and above is A


 80 and above is B


 70 and above is C


 60 and above is D


 Anything less than 60 is F


 Anything more than 100 or less than 0 is invalid input.

Given an integer N as input. Write a program the yellow right-angle pattern of N lines as bellow.



Note:There is a space after each asterisk (*) Character.



Input



The first line is an integer N



Explanation



In the given example the yellow right angled triangle of side 5 .Therefore, the output should be.



*



* *



* *



* *



* * * * *



Sample Input 1



4



Sample Output 1



*



* *



* *



* * * *




you cannot use built-in functions or NumPy or Pandas!

1. Write a function which finds all Pythagorean triplets of triangles whose sides are no greater than a natural number N.

2. Given a list of integers, write a function that finds the smallest and the largest value of this list. Given a list of numbers, write a function which finds their standard deviation


 Integer Pairing

by CodeChum Admin

Now this one's a tad bit tricky, but you can definitely do it!


Instructions:

  1. Input five integers in one line, with each integer separated by a space.
  2. Add the 1st and 2nd integers together, store the sum inside a variable.
  3. Add the 3rd and 4th integers together, store the sum inside a variable.
  4. Multiply the two sums with each other and raise the product to the power of the 5th integer
  5. Print out the result.

Input

A line containing five integers separated by a space.

1·2·3·4·5

Output

A line containing an integer.

4084101

Input Combination

by CodeChum Admin

We've tried adding together integers, now how about strings?


Instructions:

  1. Input two strings in one line, separated by a space.
  2. Concatenate the two strings and print out the result.

Input

A line containing two strings separated by a space.

hello·world

Output

A line containing the concatenated string with no spaces.

helloworld




LATEST TUTORIALS
APPROVED BY CLIENTS