Answer:
<h2>c) Date : Date</h2>
Explanation:
A type of attribute of data is called data type in computer science, data types tells the interpreter how a person wants to use the data. The basic data types are supported by most of the programming languages, the basic data types are Integers, float, characters, strings, point numbers and arrays. The terminology may differ from one language to other.
Answer:
#include <iostream>
using namespace std;
int main()
{
int sum=0;//taking an integer variable to store the sum with initial value 0..
for(int i=1;i<=10;i++)//looping from 1 to 10..
{
sum+=i;//adding each i in the sum..
}
cout<<sum<<endl;//printing the sum..
return 0;
}
Explanation:
output :- 55
1.I have taken an integer variable sum which is equal to 0.
2.Looping over first ten positive integers.
3.Adding every number to sum.
4.Printing the sum.
You will start to get ad pop-ups like crazy, and your computer will be a lot slower. I'd recommend that you be careful downloading things, make sure it's the right thing you're downloading. Some people make false websites. Also the best thing to do is get a usb drive and store everything you want to keep and reset your computer to factory in your settings.
Answer:
The function in Python is as follows:
def rotateRight(strng, d):
lent = len(strng)
retString = strng[lent - d : ] + strng[0 : lent - d]
return retString
Explanation:
This defines the function
def rotateRight(strng, d):
This calculates the length of the string
lent = len(strng)
This calculates the return string
retString = strng[lent - d : ] + strng[0 : lent - d]
This returns the return string
return retString
Addition:
The return string is calculated as thus:
This string is split from the <em>index passed to the function to the last element of the string, i.e. from dth to last.</em>
<em>The split string is then concatenated to the beginning of the remaining string</em>