Write a program that prompts the user to input two numbers—a numerator and a divisor. Your program should then divide the numerator by the divisor, and display the quotient and remainder without decimals.
Explanation:
The code below is written in python :
a=int(input("Enter the first number: "))
b=int(input("Enter the second number: "))
quotient=a//b
remainder=a%b
print("Quotient is:",quotient)
print("Remainder is:",remainder)
1. User must enter the first and second number .
2. The quotient is obtained using true division (// operator).
3. The modulus operator gives the remainder when a is divided by b.
Complete Question:
After completing a scan, Microsoft Baseline Security Analyzer (MBSA) will generate a report which identifies security issues and:
Group of answer choices
A. Describes how the vulnerabilities could impact the organization.
B. Provides recommendations for system configuration changes.
C. Lists them in alphabetical order.
D. Provides recommendations for additional personnel needed.
Answer:
B. Provides recommendations for system configuration changes.
Explanation:
The Microsoft Baseline Security Analyzer (MBSA) is a software program or application developed by Microsoft and it helps network security administrators to check for security updates, Structured Query Language (SQL) administrative vulnerabilities, Windows administrative vulnerabilities, Internet Information Services (IIS) administrative vulnerabilities, weak passwords, identifying missing security patches and common security misconfigurations.
After completing a scan, Microsoft Baseline Security Analyzer (MBSA) will generate a report which identifies security issues and provides recommendations for system configuration changes.
<em>Microsoft Baseline Security Analyzer (MBSA) is a legacy software that scores the results of a scan and displays the items posing the highest risk first, based on Microsoft’s security recommendations</em>.
Answer:
See explaination
Explanation:
if __name__ == '__main__':
total = int(input())
if total <= 0:
print("No Change")
else:
dollars = total // 100
total %= 100
quarters = total // 25
total %= 25
dimes = total // 10
total %= 10
nickels = total // 5
total %= 5
pennies = total
if dollars > 1:
print('%d Dollars' % dollars)
elif dollars == 1:
print('%d Dollar' % dollars)
if quarters > 1:
print('%d Quarters' % quarters)
elif quarters == 1:
print('%d Quarter' % quarters)
if dimes > 1:
print('%d Dimes' % dimes)
elif dimes == 1:
print('%d Dime' % dimes)
if nickels > 1:
print('%d Nickels' % nickels)
elif nickels == 1:
print('%d Nickel' % nickels)
if pennies > 1:
print('%d Pennies' % pennies)
elif pennies == 1:
print('%d Penny' % pennies)