1. X
  2. TechCoderHub
Log inSign up
TechCoderHub
53 posts
TechCoderHub profile banner
user avatar

TechCoderHub

@techcoderhub
Qt/QML specialist studio. We build production HMI for automotive, industrial & desktop. 60fps. Real hardware. Clean architecture.
Remote · Worldwide
techcoderhub.com
Joined October 2021
0
Following
1
Followers
RepliesRepliesMediaMedia

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
  • user avatar
    TechCoderHub
    @techcoderhub
    Oct 14, 2021
    Created with @techcoderhub
    /* Description:Example of if statement
 * Written by: Adesh Singh
 * Published on: code.technovationspark.com
 */
#include <stdio.h>
int main()
{
    int x = 20;
    int y = 22;
    if (x<y)
    {
        printf("Variable x is less than y");
    }
    return 0;
}
  • user avatar
    TechCoderHub
    @techcoderhub
    Oct 14, 2021
    Created with @techcoderhub
    /* Description:C Program to calculate Area of Equilatral triangle
 * Written by: Adesh Singh
 * Published on: code.technovationspark.com
 */
#include<stdio.h>
#include<math.h>
int main()
{
   int triangle_side;
   float triangle_area, temp_variable;

   //Ask user to input the length of the side
   printf("\nEnter the Side of the triangle:");
   scanf("%d",&triangle_side);

   //Caluclate and display area of Equil...
  • user avatar
    TechCoderHub
    @techcoderhub
    Oct 14, 2021
    Created with @techcoderhub
    /* Description: C Program to calculate Area and Circumference of Circle
 * Written by: Adesh Singh
 * Published on: code.technovationspark.com
 */
#include <stdio.h>
int main()
{
   int circle_radius;
   float PI_VALUE=3.14, circle_area, circle_circumf;

   //Ask user to enter the radius of circle
   printf("\nEnter radius of circle: ");
   //Storing the user input into variable circle_radius
   scanf("%d",&circle...
  • user avatar
    TechCoderHub
    @techcoderhub
    Oct 14, 2021
    Created with @techcoderhub
    /* Description: C Program to Convert Octal Number to Binary Number
 * Written by: Adesh Singh
 * Published on: code.technovationspark.com
 */
#include <stdio.h>
#include <math.h>
//This function converts octal number to binary number
long octalToBinary(int octalnum)
{
    int decimalnum = 0, i = 0;
    long binarynum = 0;
    /* This loop converts octal number "octalnum" to the
     * decimal number "decimalnum"
 ...
  • user avatar
    TechCoderHub
    @techcoderhub
    Oct 14, 2021
    Created with @techcoderhub
    /* Description:  Program to convert Binary to Octal
 * Written by: Adesh Singh
 * Published on: code.technovationspark.com
 */
#include <stdio.h>
#include <math.h>
//This function converts binary number to octal number
int binaryToOctal(long binarynum)
{
    int octalnum = 0, decimalnum = 0, i = 0;
    while(binarynum != 0)
    {
        decimalnum = decimalnum + (binarynum%10) * pow(2,i);
        i++;
        bin...
Advertisement
Advertisement