Fibonacci series program in c language Get link Facebook X Pinterest Email Other Apps December 31, 2018 #include<stdio.h>#include<conio.h>void main(){ int i,a=0,b=1,c,n; clrscr(); printf("Enter the limits:"); scanf("%d",&n); for(i=1;i<=n;i++) { printf("%d ",a); c=a+b; a=b; b=c; } getch();} Get link Facebook X Pinterest Email Other Apps Comments AnonymousJanuary 18, 2019 at 2:35 AMSo simple thanks ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
Table in HTML December 16, 2018 <html> <head> <title>my table</title> <head> <body> <center> <table border="1" cellspacing="0" width="500"> <tr> <th colspan="6"><font size="80">Time table</font></th> </tr> <tr> <th rowspan="6">hours</th> <th>mon</th> <th>tue</th> <th>wed</th> <th>thu</th> <th>fri</th> </tr> <tr> <td>Science</td> <td>maths</td> <td>Science</td> <td>maths</td> <td>arts</td> </tr><!-- prepared by vishal Rathod --> <tr> <td>Social</td> <td>History</td> <td>English</td> <td>Social</td> <td>Sports</td> ... Read more
Add values in array using React-native August 18, 2020 1. Below Are The Lines Of Source Code Of React-Native import { StyleSheet, Text, View, Alert, TouchableOpacity, ScrollView, Platform, TextInput } from 'react-native'; import React, { Component } from 'react'; class Practice extends React.Component { constructor(props) { super(props); this.collection = [ { carBrand: 'suzuki', carName: 'Baleno' }, { carBrand: 'tata', carName: 'Nexon' } ], this.arr = []; this.state = { name: '', forAdd: [] } } addfn() { this.arr.push(String(this.state.name)) this.setState({ ... Read more
So simple thanks
ReplyDelete