Answer:
The program in Python is as follows:
num1 = int(input())
num2 = int(input())
if num1 >=0 and num2 >= 0:
print(num1+num2)
elif num1 <0 and num2 < 0:
print(num1*num2)
else:
if num1>=0:
print(num1**2)
else:
print(num2**2)
Explanation:
This gets input for both numbers
num1 = int(input())
num2 = int(input())
If both are positive, the sum is calculated and printed
<em>if num1 >=0 and num2 >= 0:</em>
<em> print(num1+num2)</em>
If both are negative, the products is calculated and printed
<em>elif num1 <0 and num2 < 0:</em>
<em> print(num1*num2)</em>
If only one of them is positive
else:
Calculate and print the square of num1 if positive
<em> if num1>=0:</em>
<em> print(num1**2)</em>
Calculate and print the square of num2 if positive
<em> else:</em>
<em> print(num2**2)</em>
Answer:
Some of the application areas of computer are
1.banking,
2.education,
3.industries,
4.entertainments,
5.hospitals,
Answer:
Social media influencing tactics has impacted the way I see social media posts in your daily life in the sense that if influences what posts I see and what posts I interact with.
Explanation:
Some examples of social media influencing tactics include ads, videos, social media influencers and so on.
When for example, and ad pops up on my social network and I click on it, similar ads of different products would appear later on my social network. In this way, my interaction with that ad has brought up similar ads to my attention. Likewise interaction with videos and social media influencers. When i interact with one video or social media influencer, a similar video or social media influencer is brought up to my attention in my feed.
Answer:
false
Explanation:
You could just call a method itself and just have a condition to get out. For example an recursive method with a base case.
Explanation:
<h2>hi dude 15 Alignment, font styles, and horizontal rules</h2><h2>Contents</h2><h2 /><h2>Formatting</h2><h2>Background color</h2><h2>Alignment</h2><h2>Floating objects</h2><h2>Float an object</h2><h2>Float text around an object</h2><h2>Fonts</h2><h2>Font style elements: the TT, I, B, BIG, SMALL, STRIKE, S, and U elements</h2><h2>Font modifier elements: FONT and BASEFONT</h2><h2>Rules: the HR element</h2><h2>This section of the specification discusses some HTML elements and attributes that may be used for visual formatting of elements. Many of them are deprecated.</h2><h2 /><h2>15.1 Formatting</h2><h2>15.1.1 Background color</h2><h2>Attribute definitions</h2><h2 /><h2>bgcolor = color [CI]</h2><h2>Deprecated. This attribute sets the background color for the document body or table cells.</h2><h2>This attribute sets the background color of the canvas for the document body (the BODY element) or for tables (the TABLE, TR, TH, and TD elements). Additional attributes for specifying text color can be used with the BODY element.</h2><h2 /><h2>This attribute has been deprecated in favor of style sheets for specifying background color information.</h2><h2 />
15.1.2 Alignment
<h3>It is possible to align block elements (tables, images, objects, paragraphs, etc.) on the canvas with the align element. Although this attribute may be set for many HTML elements, its range of possible values sometimes differs from element to element. Here we only discuss the meaning of the align attribute for text.</h3><h2 /><h2>Attribute definitions</h2><h2 /><h2>align = left|center|right|justify [CI]</h2><h3>Deprecated. This attribute specifies the horizontal alignment of its element with respect to the surrounding context. Possible values:</h3>
left: text lines are rendered flush left.
center: text lines are centered.
right: text lines are rendered flush right.
justify: text lines are justified to both margins.
The default depends on the base text direction. For left to right text, the default is align=left, while for right to left text, the default is align=right.