Giter VIP home page Giter VIP logo

c-english's Introduction

c-english

A header file that enables writing code using only English sentences.

example

Hello, World!

#include "c_english.h"

An_(integer)_return_type_(main)_function_is_defined_as_follows
    Prints_the_string_("Hello, World!\n")_to_the_screen;

    Returns_the_value_(0);
End_the_block

Add from 1 to 10

#include "c_english.h"

An_(integer)_return_type_(main)_function_is_defined_as_follows
    Declare_an_(integer)_variable_named_(num)_and_initialize_it_to_(1);
    Declare_an_(integer)_variable_named_(total)_and_initialize_it_to_(0);

    Loop_while_condition_(num is_less_than_or_equal_to 10)_is_true
        Increment_(total)_by_the_value_of_(num);
        Increment_(num)_by_one;
    End_the_block

    Prints_the_number_(total)_to_the_screen;
    Prints_the_string_("\n")_to_the_screen;

    Returns_the_value_(0);
End_the_block

c-english's People

Contributors

ehackc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.