5 ( x + 4 ) = 4 ( x - 6)
5x + 20 = 4x - 24
5x -4x + 20= 4x - 4x - 24
1x + 20 = -24
1x + 20 - 20 = -24 - 20
1x = -44
check
5 (-44 + 4) = 4 ( -44 - 6)
5 (-40) = 4 (-50)
-200 = -200
Answer:
Following are the program in C++ language
#include <iostream> // header file
using namespace std; // namespace std;
int main() // main function
{
int number,n1,rem; // variable declaration
int sum,sum1=0;// variable declaration
cout<<"Enter the number :";
cin>>number;// Read the number
n1=number; // initialized the value of number with the n1
while(n1>0) // iteating the while loop
{
rem=n1%10; // finding the reminder
sum1=10*sum1+rem; // storing the sum
n1=n1/10;
}
sum=sum1+number; // calculate the sum
cout<<"The sum is:"<<sum; // Display sum
return 0;
}
Output:
Enter the number :123
The sum is:444
Explanation:
Following are the Description of the Program
- Read the value of "number" in the "number" variable of int type .
- Initialized the value of "number" in the "n1' variable.
- Iterating the while loop until the n1>0.
- In this loop we reverse the number in the "sum1" variable
- Finally print the sum in the "sum" variable
Answer:
Form-based codes have a description of what uses a building or a place is permitted but focus on the physical character of construction, particularly how they relate to the public realm shared by everybody. More and more people across the country and around our world have seen form-based codes as a more effective and efficient method to accomplish what they want, protect what they care about and escape what they do not want.
Explanation:
In the 1980s a group of architects and designers were trying to construct an alternative to traditional zoning, focusing less on use and more on size, construction speed, the shape of public spaces and the connections between buildings. Throughout this time the Duany Plater-Zyberk & company was planned to create a new community based on traditional neighborhood design concepts, Seaside, Florida, which originally developed an earlier modern type code to direct the development of the new community. The entire municipal code of Seaside was graphically illustrated on one poster as a radical deviation from traditional zoning.
Answer:
#include <iostream>
using namespace std;
int main() {
int k;
double d;
string s;
cin >> k >> d >> s;
cout << s << " " << d << " " << k << "\n" << k << " " << d << " " << s; }
Explanation:
k is int type variable that stores integer values.
d is double type variable that stores real number.
s is string type variable that stores word.
cin statement is used to take input from user. cin takes an integer, a real number and a word from user. The user first enters an integer value, then a real number and then a small word as input.
cout statement is used to display the output on the screen. cout displays the value of k, d and s which entered by user.
First the values of k, d and s are displayed in reverse order. This means the word is displayed first, then the real number and then the integer separated again by EXACTLY one space from each other. " " used to represent a single space.
Then next line \n is used to produce a new line.
So in the next line values of k, d and s are displayed in original order (the integer , the real, and the word), separated again by EXACTLY one space from each other.
The program along with the output is attached.