can anybody please tell me how to write a program in
c++,without using semicolon(;)

Answer Posted / amit

int main()
{

if(printf("can anybody tell me how to write "))
{
}
return 0;
}

Is This Answer Correct ?    3 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain polymorphism?

805


What is an accessor in c++?

799


What is namespace std; and what is consists of?

913


What is the use of endl in c++ give an example?

858


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

781






what is a class? Explain with an example.

853


What is the purpose of templates in c++?

749


Write a program to read the data and evaluate the results of the election. Print all output to the screen. Your output should specify: The total number of votes, the number of valid votes and the number of spoilt votes. The winner(s) of the election. Hint: An appropriate search should be used to determine the winner(s). The votes obtained by each candidate sorted in terms of the number of votes obtained. Hint: An appropriate sort should be used to sort the candidate(s). The Source code should be saved as VotingSystem. Project Input: Candidates’ Names and Numbers 2501 Victor Taylor 2502 Denise Duncan 2503 Kamal Ramdhan 2504 Michael Ali 2505 Anisa Sawh 2506 Carol Khan 2507 Gary Owen Votes 3 1 2 5 4 3 5 3 5 3 2 8 1 6 7 7 3 5 6 9 3 4 7 1 2 4 5 5 1 4 0 Project Output: Invalid vote: 8 Invalid vote: 9 Number of voters: 30 Number of valid votes: 28 Number of spoilt votes: 2 The winner(s): 2503 Kamal Ramdhan 2505 Anisa Sawh Candidate Score 2503 Kamal Ramdhan 6 2505 Anisa Sawh 6 2501 Victor Taylor 4 2504 Michael Ali 4 2502 Denise Duncan 3 2507 Gary Owen 3 2506 Carol Khan 2

2853


Is there structure in c++?

761


What is the difference between #define debug 0 and #undef debug?

868


Which is the best c++ compiler for beginners?

767


Can you sort a set c++?

738


Explain one method to process an entire string as one unit?

1205


Does there exist any other function which can be used to convert an integer or a float to a string?

818


Write a C++ Program to check whether a number is prime number or not?

841