Welcome to AMIE Study - AMIE India Students Forum

AMIE Study - AMIE India Students Forum

collapse collapse

* Shoutbox

Refresh History
  • bharath kumarrs: I am nt getting online registration for section B
    February 21, 2019, 09:44:00 PM
  • Amal Babu: Is there any changes in syllabus
    February 12, 2019, 06:17:52 PM
  • bhoomika Praveena: any whatsapp group? kindly add me ,mail me to [email protected] your number i shall ping you thanks
    February 01, 2019, 07:36:26 PM
  • bhoomika Praveena: hi,
    February 01, 2019, 07:33:15 PM
  • Sitigaurav: Section A note required
    January 13, 2019, 03:12:13 PM
  • Ulo3091: Please send doc file of project report someone
    December 29, 2018, 05:36:05 PM
  • Sujith Raj (AMIE - Civil): Any Idea, When will we get AMIE certificate & AM number
    December 20, 2018, 04:30:22 PM
  • Sujith Raj (AMIE - Civil): Congratulation to All those who cleared AMIE in recent result
    December 20, 2018, 04:29:40 PM
  • sulemangani: Can I reresisyered for section B exam as I have passed section A in winter 2008 but not appeared in some exams upto winter 2014
    December 12, 2018, 06:59:49 PM
  • I P Sarath Menon: Rcc , steel, advance structural analysis, design and analysis, soil, water hand written notes which was used to successfully complete AMIE [email protected]/9387774349
    November 28, 2018, 09:37:56 AM
  • I P Sarath Menon: Civil Engineering notes with optional structural with me
    November 28, 2018, 09:33:52 AM
  • ST694011-6: Hi everyone how to get RCC notes
    November 28, 2018, 09:17:25 AM
  • rekha1996: dbms
    November 27, 2018, 05:58:47 PM
  • rekha1996: Dbms
    November 27, 2018, 04:52:21 PM
  • Anwar VYM: Is AMIE degree acceptable in UAE?
    October 23, 2018, 10:16:46 PM
  • devjangde: Dear Sir/Madam please me out for my membership Number and  reference number.  I lost both of this . Is there any way to find out?
    October 08, 2018, 09:32:50 AM
  • devjangde: Dear Sir/Madam,
    October 08, 2018, 09:30:46 AM
  • Srijib: Can someone have any notes for the subject society and environment
    October 07, 2018, 07:37:52 PM
  • muleredd: can someone have previous year question papers for Sec B Mining Engineering ?
    October 07, 2018, 01:52:05 PM
  • Pahadi57: Will I send the printed copy of the winter application form after online form filling successfully.... Pls advice
    October 05, 2018, 05:54:03 PM

* Search


* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Board Stats

  • stats Total Members: 48807
  • stats Total Posts: 27371
  • stats Total Topics: 6635
  • stats Total Categories: 6
  • stats Total Boards: 31
  • stats Most Online: 626

Author Topic: Tough C Programme of Winter 2007, Section A (D)  (Read 816 times)

Description:
May 03, 2012, 12:09:02 PM
  • Guest
Advertisement
Problem is Attached and output screen shot is attached

programme:
----------------------------------------------------------------------------------------------
#include <stdio.h>
int main (void)
{
    int triangular, loopcount, total;
     
    loopcount = 0;
    total = 0;
    printf ("Enter number: ");
    scanf ("%d", &triangular);
   
    printf("IN ADDITION TO THE OUTPUT AS REQUIRED IN THE PROBLEM IT DISPLAYSn");
    printf("THE ALL POSSIBLE TRIANGULAR NUMBERS BETWEEN 0 AND Nn");
    while (total < triangular)
    {
           /*IN ADDITION TO THE OUTPUT AS REQUIRED IN THE PROBLEM IT
          DISPLAYS THE ALL POSSIBLE NUMBERS BETWEEN 0 AND N*/
   
    printf("Possible triangular numbers: %dn", total);
    loopcount = loopcount+1;
    total = total + loopcount;
    }
   if (triangular == total)
               
    printf ("The give number %d is trinagular: %dn", triangular, triangular == total);
           
    else
    printf ("The given number %d is non-trinagular: %d", triangular, triangular == total);  
     
    getch ();
}
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »


May 03, 2012, 08:24:21 PM
Reply #1
  • Guest
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1845 Views
Last post May 24, 2010, 02:38:54 PM
by ritwik007
1 Replies
1082 Views
Last post April 04, 2012, 11:03:52 PM
by Anonymous
4 Replies
2495 Views
Last post February 20, 2013, 10:17:43 PM
by AMIEKEKA
7 Replies
2611 Views
Last post March 29, 2014, 12:07:24 PM
by chetanwarange
0 Replies
3552 Views
Last post October 04, 2013, 04:34:04 PM
by AMIEKEKA
2 Replies
1995 Views
Last post June 21, 2014, 11:27:02 AM
by Aartipass
0 Replies
1443 Views
Last post February 19, 2016, 09:45:02 AM
by karmakar.satadal

* Search

* Subscribe to Forum

Enter your email address:

Advertisement

* Recent Posts

Solid Wood Dining Table Set Uk by alvisys
[January 30, 2019, 04:58:57 PM]


Re: Important!!! AMIE Exam fee revised from Rs 2000 to Rs 3000 by JessicaThisk
[January 09, 2019, 06:30:22 PM]


Re: Important!!! AMIE Exam fee revised from Rs 2000 to Rs 3000 by sulemangani
[December 12, 2018, 07:01:18 PM]


DiesqueLW by uncopy
[November 06, 2018, 08:47:00 PM]


Re: Supermembership queries by praveen
[November 04, 2018, 09:39:26 AM]