Encrypting your link and protect the link from viruses, malware, thief, etc! Made your link safe to visit.

pdf-2-1pdf-2-2pdf-2-3pdf-2-4pdf-2-5pdf-2-6pdf-2-7pdf-2-8pdf-2-9pdf-2-10pdf-2-11pdf-2-12pdf-2-13pdf-2-14pdf-2-15pdf-2-16pdf-2-17pdf-2-18pdf-2-19pdf-2-20pdf-2-21pdf-2-22pdf-2-23pdf-2-24pdf-2-25pdf-2-26pdf-2-27pdf-2-28pdf-2-29pdf-2-30pdf-2-31pdf-2-32pdf-2-33pdf-2-34pdf-2-35pdf-2-36pdf-2-37pdf-2-38pdf-2-39pdf-2-40pdf-2-41pdf-2-42pdf-2-43pdf-2-44pdf-2-45pdf-2-46pdf-2-47pdf-2-48pdf-2-49pdf-2-50pdf-2-51pdf-2-52pdf-2-53pdf-2-54pdf-2-55pdf-2-56pdf-2-57pdf-2-58pdf-2-59pdf-2-60pdf-2-61pdf-2-62pdf-2-63pdf-2-64pdf-2-65pdf-2-66pdf-2-67pdf-2-68pdf-2-69pdf-2-70pdf-2-71pdf-2-72pdf-2-73pdf-2-74pdf-2-75pdf-2-76pdf-2-77pdf-2-78pdf-2-79pdf-2-80pdf-2-81pdf-2-82pdf-2-83pdf-2-84pdf-2-85pdf-2-86pdf-2-87pdf-2-88pdf-2-89pdf-2-90pdf-2-91pdf-2-92pdf-2-93pdf-2-94pdf-2-95pdf-2-96pdf-2-97pdf-2-98pdf-2-99pdf-2-100pdf-2-101pdf-2-102pdf-2-103pdf-2-104pdf-2-105pdf-2-106pdf-2-107pdf-2-108pdf-2-109pdf-2-110pdf-2-111pdf-2-112pdf-2-113pdf-2-114pdf-2-115pdf-2-116pdf-2-117pdf-2-118pdf-2-119pdf-2-120pdf-2-121pdf-2-122pdf-2-123pdf-2-124pdf-2-125pdf-2-126pdf-2-127pdf-2-128pdf-2-129pdf-2-130pdf-2-131pdf-2-132pdf-2-133pdf-2-134pdf-2-135pdf-2-136pdf-2-137pdf-2-138pdf-2-139pdf-2-140pdf-2-141pdf-2-142pdf-2-143pdf-2-144pdf-2-145pdf-2-146pdf-2-147pdf-2-148pdf-2-149pdf-2-150pdf-2-151pdf-2-152pdf-2-153pdf-2-154pdf-2-155pdf-2-156pdf-2-157pdf-2-158pdf-2-159pdf-2-160pdf-2-161

ST

Search This Blog

Labels

Report Abuse

A palindrome is a number or a text phrase that reads the same backwards as forwards. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. Write a C++ program that reads in a five-digit integer and determines whether it is a palindrome .

Question: A palindrome is a number or a text phrase that reads the same backwards as forwards. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. Write a C++ program that reads in a five-digit integer and determines whether it is a palindrome . Answer: Step 1 PROGRAMING CODE:   #include <stdio.h> int main() {   int n, a, b, c, d, e;   int digit = 0;   printf( "Enter one 5 digit number: \n" );   scanf( "%d", &n );   a = n / 10000;   b = n / 1000 % 10;   c = n / 100 % 10;   d = n / 10 % 10;   e = n % 10;   if ( a == e && b == d ) {     printf( "Palindrome!\n" );   }   if ( a != e || b != d ) {     printf( "Not a palindrome.. :(\n" );   }   return 0; } PROGRAM SCREENSHOT: Step 2

QUESTION 6 (a) The bar shown in Figure Q2(a) is subjected to tensile load of 150 Kn. If the stress in the middle portions is limited to 160 N/mm², determine the diameter of the middle portion. Find also the length of the middle portion if the total elongation of the bar is to be 0.25 mm. E E = 2.0 + 105N/mm². (12 marks) 150 KN 10 cm DIA 10 cm DIA 150 KN 45 cm Figure Q6(a) (b) A brass bar, having cross-section area of 900 mm², is subjected to axial forces as shown in Figure Q2(b), in which AB = 0.6 m, BC = 0.8 m, and CD = 1.0 m. Find the total elongation of the bar. E = 1.0 + 105N/mm2 . (8 marks) Page 4 of 5 B D 40 KN 70 KN 20 KN 10 KN Figure Q6(b) (TOTAL = 20 MARKS)

  Question: Show transcribed image text Answer:

Contributors