Answer:
PI = 3.14
radius = float(input(' Please Enter the radius of a circle: '))
area = PI * radius * radius
circumference = 2 * PI * radius
Explanation:
i srs dont know i am so sorry i forgot but maybe this?
Following are the program to calculate even digits sum:
<h3>Program:</h3>
#include <iostream>//header file
using namespace std;
int main()//main method
{
int a[10],s=0,i;//defining an array and an integer variable
cout<<"Enter array values: ";//print message
for(i=0;i<=9;i++)//defining a loop that input array value
{
cin>>a[i];//input array value
}
for(int i=0;i<=9;i++)//defining loop that check array value
{
if(a[i]%2==0)//defining if block that checks even number condition value
{
s=s+a[i];//adding even number value
}
}
cout<<"The sum of even number is: "<<s;//print even number sum value
return 0;
}
Program Explanation:
- Defining a header file.
- Defining the main method.
- Inside the main method, an integer array "a", and two integer variable "s,i" is declared.
- In the next step, a for loop is declared that input the array value, and after input value another loop is declared that check even number value in array.
- In this loop it adds array value and after adding the value a print method is declared that prints its value.
Output:
Please find the attached file.
Find out more information about the even number here:
brainly.com/question/4184435
Explanation:
video projector is an image projector that receives a video signal and projects the corresponding image on a projection screen using a lens system.
Using a multimedia projector, you can show a DVD, video, slide show or television program on a large screen with color and sound. Multimedia projectors allow for presentations that can be used for work functions, classroom instruction or enjoyment of films and television at home.
Answer:
def check_password(pwd):
c=0
d=0
for i in pwd:
if (i>='a' and i<='z') or (i>='A' and i<='Z'):
c+=1
elif i>='0' and i<='9':
d+=1
c+=1
if len(pwd)==c and d>=2 and len(pwd)>=8:
print("valid password")
else:
print("Invalid password")
ps=input("Enter password for checking : ")
check_password(ps)
Explanation:
- Loop through the password and check if it contains any alphabet.
- Increment the counter if it contains any alphabet.
- If it contains a number, increment both c and d variables.
- Finally display the relevant message.
FireWire
i just saida random one i didnt read it