- Write a program that inputs an n-digit number then output its n digits from least to most significant:
|
|
Input: 132768Output: 8 6 7 2 3 1 |
|
- Write a program to input integers, the program ends when user input 0. Print the minimum (different from 0) and maximum number (different from 0) among the input numbers:
|
|
Input: -3 5 -2 9 8 10 5 -1 0Min: -3Max: 10 |
|
- Write a program to find all prime number less than a given integer N (optional: provide an optimal solution)
- Given number x and y. Using only plus, minus, multiply and divide to evaluate the following equation using no more than 16 operations:
3x2y2 2xy2 7x2y 4y2 + 15xy + 2x2 3x +10y + 6
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.