#include <stdio.h> #include <conio.h> int main(){ int i,j,T; printf("Input T: "); scanf("%d",&T); for(i=300,j=350;i<=1000 && j<=1000 ;i+=T,j+=T) { printf("T1 = %d and T2 = %d\n",i,j); } getch(); return 0; }