agree or disagree goodwill is an real account
Answers
Answer:
No, goodwill is not a nominal account. It is an intangible real account. These accounts represent assets which cannot be seen, touched or felt but they can be measured in terms of money.
Answer:
main.cpp*
* C++ Program to Check if a Number is Divisible By Second Number
*/
#include<iostream>
using namespace std;
int main()
{
int first, second;
cout << "Enter the numbers : ";
cin >> first >> second;
if (first % second == 0)
cout << "First number " << first
<< " is divisible by second number "
<< second;
else
cout << "First number " << first
<< " is not divisible by second number "
<< second;
}
advertisement
$ g++ main.cpp
$ ./a.out
Enter the numbers : 34 17
First number 34 is divisible by second number 17
$ ./a.out
Enter the numbers : 104 12
First number 104 is not divisible by second number 12
Sanfoundry Global Education & Learning Series – 1000 C++ Programs.
advertisement
If you wish to look at all C++ Programming examples, go to C++ Programs.
« Prev - C++ Program To Implement Skip List» Next - C++ Program to Demonstrate the use of Comparison Operators
CategoriesC++ Programs
advertisement
Recommended Articles:
Java Program to Check Whether Given Number is Divisible by 5
C++ Program to Check if a given Integer is Even or Odd
C++ Program to Check if the Entered Year is a Leap Year
C++ Program to Check if a Number is Even
C++ Program to Check if a Number is Prime
C Program to Find the Number of Integers Divisible by 5
C# Program to Find whether the Number is Divisible by 2
C++ Program to Check whether Graph is a Bipartite using BFS
C++ Program to Check if a Number is Positive or Negative
C++ Program to Check Whether a Given Points are Colinear or Not
advertisement