by CodeChum Admin
Let's play a game of FizzBuzz! It works just like the popular childhood game "PopCorn", but with rules of math applied since math is fun, right? Just print out "Fizz" when the given number is divisible by 3, "Buzz" when it's divisible by 5, and "FizzBuzz" when it's divisible by both 3 and 5!
Let the game begin!
Input
A line containing an integer.
15
Output
A line containing a string.
FizzBuzz
Create a c++ program that would ask the user to enter their personal information : Lastname, First name, Middle Name, Birthday, Age, Gender and Permanent address. The program must display all the information input by the user.
write the class graduating student as a subclass of the student class
Write the Class Student which represent the student Object considering that the students has ID, Name and email as attributes and you need to suggest one method.
Print out all numbers from 1 to 100 that is divisible by 3 using a for loop just like the last problem, but this time, with each number only separated by the space like that of the sample output.
Write an executable C++ program to display name of your department using the input and output operation.
Write a C++ program to display your name and matriculation number.
Note: Your full name and matriculation number must be on separate line.
Write pseudo-code of program that finds “Prime Numbers” in the given range. First, ask the user to enter two
numbers M and N. Then, find prime numbers in the range M
→
N. Display all the prime numbers on the
screen. by using nested loop
Write a program that takes character array as an input and count the number of capital character in it.
Write a program that simulates picking a card from a deck of 52 cards. Your
program should display the rank (Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King) and
suit (Clubs, Diamonds, Hearts, Spades) of the card.