is a function that is expanded in a line when invoked.
#include
using namespace std;
inline float max(float a,float b)
{
return(a>b);
}
int main()
{
float a = 12;
float b = 20;
cout<<(a,b)
cout<<(a,b)<<"\n";
return 0;
}
Francis Nkurumwa answered the question on March 1, 2018 at 15:20
-
What is a statement? Explain jump statement with syntax
(Solved)
What is a statement? Explain jump statement with syntax.
Date posted:
March 1, 2018
.
Answers (1)
-
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 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)
-
What is built in function?
(Solved)
What is built in function?
Date posted:
February 24, 2018
.
Answers (1)
-
A system analyst in the development of computerized information systems is defined as an agent of change.Required: (a) Define the term 'agent of change‘ and describe...
(Solved)
A system analyst in the development of computerized information systems is defined as an 'agent of change'.
Required:
a) Define the term =agent of change‘ and describe four roles of a system analyst in the
development of computerized information systems.
b) Outline five advantages of an external system analyst in the development of
computerized information systems.
Date posted:
February 15, 2018
.
Answers (1)
-
Outline five factors that determine an application suitability for an expert system approach.
(Solved)
Outline five factors that determine an application suitability for an expert system approach.
Date posted:
February 15, 2018
.
Answers (1)