Answer:
Answer is (value MOD 5) = 0.
Explanation:
A number A is multiple of another number B if after dividing A by B remainder value is zero.
In mathematics modulo or (MOD) function is a function which returns remainder value after dividing two numbers.
Here in question for condition
( value MOD 5 ) = 0 code will print "Multiple of 5". For each value which is divisible by 5 we will get zero remainder implying that value is a multiple of 5.
Answer:
hospital yestrday after noon ggpupg ki tyutrdcbhsjdvshsjjshsgsgdhsusfsuwwiiwhszia
Answer:
function findLongestWord(str) {
var longestWord = str.split(' ').sort(function(a, b) { return b.length - a.length; });
return longestWord[0].length;
}
findLongestWord(InputHere);
Explanation:
Replace InputHere with the input
Answer:
#include <iostream>
using namespace std;
int main() {
cout<<"My name is Rajat Sharma"<<endl<<"My address is Flat no=23 GH=5 Paschim Vihar New Delhi 110087 India"<<endl;
return 0;
}
Explanation:
The program is written in C++ language.In the program I have used cout to print my name and the address.First the name will be printed then the address in the new line endl is used for new line.To print any sentence just put them in double quotes.The same sentence in the program will be printed on the screen.
If you have only 1 method that is not overloaded, then you will not be able to call it with inappropriate parameter types, that is, if the initial type of the parameter is int, then it will not be able to get the double, float, and other values, because of this an error will occur.
For this, method overloading is created.
Method overloading is when you create methods with the same name, but only the content and parameters of the methods are/can-be completely different.