Answer:
The correct option for this question is File.
Explanation:
Answer:
rv = "hello"
num_chars = len(rv)
print(num_chars)
Explanation:
*The code is in Python.
Initialize the string rv, in this example I set it to "hello"
Use the len() method to get the number of characters in the rv and set it to the num_chars
Print the num_chars
Note that the result will be 5 in this case, because <em>hello</em> consists of five characters
Circles
Area of Circle is 
Total percentage increase in the area of the modified circle is 69%
Explanation:
(a) Given the diameter of the circle be d
Then the radius of the circle = r = d/2
and the area of the circle is given by:
Area(A) =
A = 
A = 
The area of circle is 
(b)
The increase in percentage while changing the dimensions is given by the formula :
Total % increase = a% + b% - (a% * b%)/100
Where ,
a% is the percentage increase in side a
b% is the percentage increase in side b
Let the percentage increase in radius is : a%
Since a% = b%
So the formula is
Total increase % = a% + a% + (a% * a%)/100
Given here the diameter of the circle increases by 30% so a =30
Therefore, putting the value of a in the formula
Total increase % = 30% + 30% + (30% *30%)/100
Total increase % = 60% + 9%
Total increase % =69%
Therefore the total percentage increase in the area of the modified circle is 69%
#include <stdio.h>
struct student {
char firstName[50];
int roll;
float marks;
} s[5];
int main() {
int i;
printf("Enter information of students:\n");
// storing information
for (i = 0; i < 5; ++i) {
s[i].roll = i + 1;
printf("\nFor roll number%d,\n", s[i].roll);
printf("Enter first name: ");
scanf("%s", s[i].firstName);
printf("Enter marks: ");
scanf("%f", &s[i].marks);
}
printf("Displaying Information:\n\n");
// displaying information
for (i = 0; i < 5; ++i) {
printf("\nRoll number: %d\n", i + 1);
printf("First name: ");
puts(s[i].firstName);
printf("Marks: %.1f", s[i].marks);
printf("\n");
}
return 0;
}
#◌⑅⃝●♡⋆♡Nåmřāthā ♡⋆♡●⑅◌