1. The side of the square is given. Find the perimeter.
The C.E.O of the company has contacted you to develop a C# windows-based application to keep track of these information. Requirements:
1.When the CEO login, he is to see all calls placed by a particular employee, but the
Receptionist is responsible of only the calls record entry.
2.The application must be a three-tier application with database and business logic
3.The system must keep information of when a particular call was placed, who made the call, call duration, the cost of the call,
the call type(local or foreign, cell phone or fixed line)
4.The call cost must be based on per minute billing. If the time duration is 30 seconds or more,
it should be counted as one minute. If the total call duration is some minutes and plus less
than 30 seconds, only the minute(s) should count. The seconds should be ignored.
5.Calls Cost
- Cell phone = GHC 0.50
- fixed line = GHC 0.30
- International call = GHC 3.00
1)Which of the following will be the correct output for the c#.Net program given below?
namespace IndiabixConsoleApplication
class sampleProgram{
static void main(string[] args) {
int num = 1;
funcv(num);
console.write(num +",");
funcr(ref num);
console.Write(num +",");
}
static void funcv(int num){
num = num + 10; Console.Write(num +","); }
static void funcr (ref int num) {
num = num + 10;
Console.Write(num +","); }
}
A)1,1,1,1, B)11,1,11,11, C)11,11,11,11, D)11,11,21,11, E)11,11,21,21,
Write a program that produces the given sequence nos. (in alternate arrangement) using the three looping statements: 1, 5, 2, 4, 3, 3, 4, 2, 5, 1,
1st Solution using for loop
2nd Solution using while loop
3rd Solution-‐ using do while loop
write a program that ask a user to enter a number n and display the first n even number
Write a program that reverses the input number n. Formulate an equation to come up with the answer:
(Apply the three loop statements in your solutions) Sample input/output dialogue:
Enter a number: 1238 Input data
Reverse number: 8321 Output value
1st Solution using- for loop
5. Create a help system on the topic of String class methods.
9. The text is given. Display the numbers in the text.
1. Testing program used for current control in the course "Computer Science"
create.
11. File components-strings. Determine the number of characters in each line.