Get premium membership and access questions with answers, video lessons as well as revision papers.
A statement is a command given to the computer that instructs the computer to take a specific action, such as display to the screen, or collect input.
Jump statements cause an unconditional jump to another statement elsewhere in the code
while(1) while(1)
{ {
. .
. .
. .
goto label_1; continue;
. .
. .
. .
label_1:
; ;
}
Kizito123 answered the question on April 22, 2018 at 11:37
- Kenya revenue and customs Authority calculate tax for Automobile vehicles determined by its C.C. The calculation of the tax is as follows• Customs tax is...(Solved)
Kenya revenue and customs Authority calculate tax for Automobile vehicles determine by its C.C.
The calculation of the tax is as follows
• Customs tax is CIF value* customs tax rate
• Excise tax is (CIF value+ Customs tax )*Excise tax rate
• VAT is ( CIF value+ customs tax + Excise tax )*VAT rate
• Sur tax is (CIF value+ customs tax + Excise tax + VAT)*Sur tax rate
• Withholding tax is CIF value*withholding tax rate
• Where customs tax rate 35%
Excise tax rate
• If C.C. <=1800 rate is 30%
• Else if C.C.>1800 and <=1600 rate is 60%
• Else C.C. >1600 rate is 100%
• Sure tax rate is 10%
• VAT rate is 15%
• Withholding tax rate 3%
Write a C++ program which has an input value as an argument C.C. and CIF value from the user and display the tax to be paid
Date posted: February 28, 2018. Answers (1)
- What is a union in C programming?(Solved)
What is a union in C programming?
Date posted: February 28, 2018. Answers (1)
- What is a data center?(Solved)
What is a data center?
Date posted: February 28, 2018. Answers (1)
- Why is data center security so important? (Solved)
Why is data center security so important?
Date posted: February 28, 2018. Answers (1)
- Differentiate Database administrator and web administrator(Solved)
Differentiate Database administrator and web administrator
Date posted: February 27, 2018. Answers (1)
- Give 3 reason why data and information in a computer system needs to be converted to other number systems other than binary. (Solved)
Give 3 reason why data and information in a computer system needs to be converted to other number systems other than binary.
Date posted: February 27, 2018. Answers (1)
- An organization is facing threats to data integrity. Explain three of how the threats can be minimized. (Solved)
An organization is facing threats to data integrity. Explain three of how the threats can be minimized.
Date posted: February 27, 2018. Answers (1)
- Outline two methods used to secure data in a database.(Solved)
Outline two methods used to secure data in a database.
Date posted: February 27, 2018. Answers (1)
- Give two ways in which ICT is used in shipping industry. (Solved)
Give two ways in which ICT is used in shipping industry.
Date posted: February 27, 2018. Answers (1)
- Which is the first web browser invented in 1990?(Solved)
Which is the first web browser invented in 1990?
Date posted: February 26, 2018. Answers (1)
- What will be the output of following program ?
1
2
3
4
5
6
7
8
9
10
11
12
#include < stdio.h >
int main()
{
int tally=0;
for(;;)
...(Solved)
What will be the output of following program ?
1
2
3
4
5
6
7
8
9
10
11
12
#include < stdio.h >
int main()
{
int tally=0;
for(;;)
{
if(tally==10)
break;
printf("%d ",++tally);
}
return 0;
}
0 1 2 3 4 5 6 7 8 9 10
0 1 2 3 ... infinite times
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9
Date posted: February 24, 2018. Answers (1)
- What will be the output of following program ?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include
void main()
{
int i=1;
while (i<=5)
{
...(Solved)
What will be the output of following program ?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include
void main()
{
int i=1;
while (i<=5)
{
printf("%d",i);
if (i==5)
goto print;
i++;
}
}
fun()
{
print:
printf("includehelp.com");
}
Date posted: February 24, 2018. Answers (1)
- What will be the output of following program ?
1
2
3
4
5
6
7
#include
void main()
{
char cnt=0;
for(;cnt++;printf("%d",cnt)) ;
printf("%d",cnt);
}(Solved)
What will be the output of following program ?
1
2
3
4
5
6
7
#include
void main()
{
char cnt=0;
for(;cnt++;printf("%d",cnt)) ;
printf("%d",cnt);
}
Date posted: February 24, 2018. Answers (1)
- What will be the output of following program ?
1
2
3
4
5
6
7
8
#include < stdio.h >
void main()
{ unsigned char var=0;
for(var=0;var<=255;var++)
...(Solved)
What will be the output of following program ?
1
2
3
4
5
6
7
8
#include < stdio.h >
void main()
{ unsigned char var=0;
for(var=0;var<=255;var++)
{
printf("%d ",var);
}
}
Date posted: February 24, 2018. Answers (1)
- What is the advantage of UNION in C?(Solved)
What is the advantage of UNION in C?
Date posted: February 24, 2018. Answers (1)
- Write a C language program to create file “odd” to store all odd numbers between 1 and n.(Solved)
Write a C language program to create file “odd” to store all odd numbers between 1 and n.
Date posted: February 24, 2018. Answers (1)
- Distinguish between character constant and string constant(Solved)
Distinguish between character constant and string constant.
Date posted: February 24, 2018. Answers (1)
- Explain in detail bitwise operators with example(Solved)
Explain in detail bitwise operators with example.
Date posted: February 24, 2018. Answers (1)
- Describe all operators used in C language with example(Solved)
Describe all operators used in C language with example.
Date posted: February 24, 2018. Answers (1)
- Explain the concept of files, records and fields(Solved)
Explain the concept of files, records and fields.
Date posted: February 24, 2018. Answers (1)