السلام عليكم

يا اخواني ارجو مساعدتي في حل هذه الاسئلة...انا اعاني من حلها..و ارجوا ان نتساعد في حلها باسرع وقت.

شاكرا لكم

Problem 1:
Write a program that contains a function called perfect cube which takes an integer from the user and
returns 1 if the input is perfect cube and 0 otherwise, inside the main prompt the user to enter an integer
and then call function perfect cube to know the result.

Problem 2:
Write a function called seconds that takes the time as three integer arguments (hours, minutes and
seconds) (this means that you enter the hours then press enter, then you enter the minutes and press enter,
and finally you enter the seconds and press enter), and computes the number of seconds since the last
time the clock “struck 12” which means that follow the 12 time system not the 24 time system. Use this
function to calculate the amount of time in seconds between two times (the difference in seconds), both
of which are within one 12-hour cycle of the clock.
Then write another function called time that takes the amount of time in seconds between two times and
return it as three integer arguments (hours, minutes and seconds) calculated based on the 12-hour time
system. This means that you first call the seconds function to calculate the difference then you call the
time function to convert this difference into hours, minutes, seconds format.

Problem 3:
Write a complete C++ program that prompts the user to enter 20 characters, store them in array of
characters of the suitable size, then your program must tell the user how many vowels he has entered,
i.e. stored inside the array.