Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace birthday {
- public static class HappyBirthday {
- public static string BirthdayMessage(string personName, int numberOfPresents, bool isHavingParty) {
- return "Happy Birthday " + personName + ".\n" + "Number of presents: " + numberOfPresents.ToString() + ".\n" + personName + " is " + (isHavingParty ? "" : "not") + " having a party.";
- }
- }
Add Comment
Please, Sign In to add comment