print the type of gift are giving them .when math and science=45,math=20,science=15 write a program
Given
N = 4, there should be 2 triangular patterns with 4 lines each. So, the output should be
*
* *
* * *
* * * *
*
* *
* * *
* * * *
how can i print double patterns
In the given example,
D = Monday. As the 1st of the day of the month is a Monday, it means the 7th and 14th of the month will be Sundays (A week has 7 days). So the 16th day (N = 16) of the month will be a Tuesday.
determine day of the week of the given date and month
an * charcter in 4 times so how do i print print same in another time
Design an algorithm which gets a natural value N as it's input and calculate the numbers equal or less than N. Then write it in a standard output.
WAP in C++ to find multiplication of two complex numbers using constructor overloading. The first constructor which takes no argument is used to create objects which are not initialized, second which takes one argument is used to initialize real and imag parts to ‘equal values and third which takes two argument is used to initialized real and imag to two different values.
. Write your own unique Python program that has a runtime error. Do not copy the program from your textbook or the Internet. Provide the following.
Write a Python program that gets a number using keyboard input. (Remember to use input for Python 3 but raw_input for Python 2.)
If the number is positive, the program should call countdown. If the number is negative, the program should call countup. Choose for yourself which function to call (countdown or countup) for input of zero.
Provide the following.