Write a program to print a parallelogram pattern with * characters. The size N represents the length (the number of * characters in each line)& breadth ( the number of lines) of the parallelogram.
The slope of the parallelogram T represents the number of extra spaces a line should have in the beginning compared to its next line. The last line of the pattern does not have any spaces in the beginning.
Explanation:
Given N=3 and T=2
Each line should have 3 star(*) characters.
The last line should have 0 spaces at the beginning.
Each line has 2 extra spaces characters when compared to its next line.
Sample Input1
2
2
Sample Output1
**
**
Sample Input2
3
2
Sample Output2
***
***
***
Q: You are assigned to initiate a military project for developing advance radar that are required to detect high speed and high altitude flying aircraft. Considering the above mention project, describe the following:
i. What types of team will you put together for above mention project?
ii. What type of data will you collect before modelling and simulation?
iii. Who will be the end-user for this project?
iv. What type of simulation will you conduct for the model?
Subject/Course: Simulation & Modelling
Context: Software Engineering
What are the different characteristics for inline function
program to check whether a no is palindrome or not using friend function.
Program to print fibonacci series using classes and objects
Write a program to print a parallelogram pattern with * characters. The size N represents the length (the number of * characters in each line)& breadth ( the number of lines) of the parallelogram.
The slope of the parallelogram T represents the number of extra spaces a line should have in the beginning compared to its next line. The last line of the pattern does not have any spaces in the beginning.
Explanation:
Given N=3 and T=2, each line should have 3 star(*) characters.
The last line should have 0 spaces at the beginning.
Each line has 2 extra spaces characters when compared to its next line.
Sample Input1
2
2
Sample Output1
**
**
Sample Input2
3
2
Sample Output2
***
***
***
: Write a program to overload operators in the same program by writing suitable operator friend
functions for following expression:
O7=((O1>=O2) +(O3 && O4) *(O5<O6)) [Here O1,O2,O3,O4,O5,O6 and O7 are objects of a class
“overloading”, and this class is having one integer data member]
Write c++ program that receives the radius of a circle and calculate The area
<div class="bg-container text-center">
<button class="get-activity-button p-1 mt-3" id="getActivityBtn">Get Activity</button>
<div class="mt-2" id="result">
<div class="d-flex flex-row">
<div class="w-50 d-flex flex-column justify-content-center text-center">
<p id="activityName" class="activity-name">Buy a new house decoration</p>
<p id="activityType" class="activity-type">recreational</p>
</div>
<div class="w-50">
<img src="https://assets.ccbp.in/frontend/react-js/random-activity/party.png" id="activityImg" class="activity-img" />
</div>
</div>
</div>
<div class="d-none mt-5 mb-5" id="spinner">
<div class="d-flex flex-row justify-content-center">
<div class="spinner-border" role="status"></div>
</div>
</div>
</div>
<h1> Capital and Country </h1>
<div class="block">
<select name="capital" id="capital-select" >
<option value="paris"> Paris </option>
<option value="london"> London </option>
<option value="newYour"> New Your </option>
<option value="newDelhi" selected> New Delhi </option>
</select>
<p class="block__text"> is the capital of ? </p>
</div>
<span class="county-name" id="county-name"> India </span>